CC-4438: Station Time is always UTC time no matter what the time zone setting is
-fixed
This commit is contained in:
parent
3ced92db7a
commit
c84a608747
2 changed files with 6 additions and 1 deletions
|
@ -13,6 +13,12 @@ require_once "Database.php";
|
|||
require_once __DIR__.'/controllers/plugins/RabbitMqPlugin.php';
|
||||
|
||||
|
||||
|
||||
date_default_timezone_set('UTC');
|
||||
require_once (APPLICATION_PATH."/logging/Logging.php");
|
||||
Logging::setLogPath('/var/log/airtime/zendphp.log');
|
||||
|
||||
Logging::info(Application_Model_Preference::GetTimezone());
|
||||
date_default_timezone_set(Application_Model_Preference::GetTimezone());
|
||||
|
||||
global $CC_CONFIG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue