Browse Source

- tiny fix

Franco Ponticelli 15 years ago
parent
commit
38c44f90cb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      std/php/Boot.hx

+ 2 - 1
std/php/Boot.hx

@@ -879,7 +879,8 @@ function _hx_autoload($name) {
 	return true;
 	return true;
 }
 }
 
 
-date_default_timezone_set('EST');
+if(!ini_get('date.timezone'))
+	date_default_timezone_set('UTC');
 
 
 spl_autoload_register('_hx_autoload')");
 spl_autoload_register('_hx_autoload')");
 	}
 	}