-changed default php timezone to UTC.

This commit is contained in:
mkonecny 2011-02-02 11:22:13 -05:00
parent 4f055788d4
commit ca154fc2f0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ require_once 'propel/runtime/lib/Propel.php';
Propel::init(__DIR__."/configs/propel-config.php");
//DateTime in PHP 5.3.0+ need a default timezone set.
$tz = ini_get('date.timezone') ? ini_get('date.timezone') : 'America/Toronto';
$tz = ini_get('date.timezone') ? ini_get('date.timezone') : 'UTC';
date_default_timezone_set($tz);
require_once (__DIR__."/configs/constants.php");