Update index.php

This commit is contained in:
Namhyeon Go 2018-02-09 20:14:17 +09:00 committed by GitHub
parent 744d9479bd
commit 5d26aed871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,10 @@ foreach($load_systems as $system_name) {
}
}
// set timezone
$default_timezone = array_key_empty("timezone", $config) ? $config['timezone'] : "UTC";
date_default_timezone_set($default_timezone);
// route controller
$route = '';
if(array_key_exists('route', $_REQUEST)) {