Skip to content
Snippets Groups Projects
Commit 32a88e53 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Added default timezone check

parent 1e0b8f7c
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ $config = load_config('config.json');
if (($config_local = load_config('config.local.json', true)) !== null)
$config = array_merge_recursive($config, $config_local);
if (isset($config['default_timezone']))
date_default_timezone_set($config['default_timezone']);
define('ROOT_URL', $config['root_url']);
$view = new Slim\Latte\LatteView(array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment