mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
the used timezone should be editable
if the timezone is set in the php cli ini file, mage should use that one instead of the default UTC
This commit is contained in:
@@ -9,7 +9,9 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
date_default_timezone_set('UTC');
|
if(empty(ini_get('date.timezone'))){
|
||||||
|
date_default_timezone_set('UTC');
|
||||||
|
}
|
||||||
|
|
||||||
$baseDir = dirname(dirname(__FILE__));
|
$baseDir = dirname(dirname(__FILE__));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user