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:
Mike Tralala 2015-03-16 13:33:30 +01:00
parent 55aaa5c3b4
commit 736fe7c4d8

View file

@ -9,7 +9,9 @@
* 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__));