mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Set the default timezone as early as possible
This commit is contained in:
parent
ae3ab3b897
commit
66d8cbfae7
2 changed files with 7 additions and 5 deletions
|
|
@ -517,10 +517,6 @@ class Context
|
|||
// Save old format to Context instance.
|
||||
self::$_instance->allow_rewrite = $config['use_rewrite'];
|
||||
self::$_instance->db_info = $db_info;
|
||||
|
||||
// Set the internal timezone.
|
||||
$internal_timezone = Rhymix\Framework\DateTime::getTimezoneNameByOffset($config['locale']['internal_timezone']);
|
||||
date_default_timezone_set($internal_timezone);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue