|
|
@ -936,6 +936,7 @@ class Pico |
|
|
|
'rewrite_url' => null, |
|
|
|
'rewrite_url' => null, |
|
|
|
'debug' => null, |
|
|
|
'debug' => null, |
|
|
|
'timezone' => null, |
|
|
|
'timezone' => null, |
|
|
|
|
|
|
|
'locale' => null, |
|
|
|
'theme' => 'default', |
|
|
|
'theme' => 'default', |
|
|
|
'theme_config' => null, |
|
|
|
'theme_config' => null, |
|
|
|
'theme_meta' => null, |
|
|
|
'theme_meta' => null, |
|
|
@ -974,6 +975,10 @@ class Pico |
|
|
|
} |
|
|
|
} |
|
|
|
date_default_timezone_set($this->config['timezone']); |
|
|
|
date_default_timezone_set($this->config['timezone']); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($this->config['locale'] !== null) { |
|
|
|
|
|
|
|
setlocale(LC_ALL, $this->config['locale']); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!$this->config['plugins_url']) { |
|
|
|
if (!$this->config['plugins_url']) { |
|
|
|
$this->config['plugins_url'] = $this->getUrlFromPath($this->getPluginsDir()); |
|
|
|
$this->config['plugins_url'] = $this->getUrlFromPath($this->getPluginsDir()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|