This commit is contained in:
dignajar 2015-10-24 17:43:50 -03:00
parent 76cdea6ac8
commit bf9fc2f3c5
1 changed files with 4 additions and 2 deletions

View File

@ -193,10 +193,12 @@ function install($adminPassword, $email, $timezoneOffset)
$stdOut = array();
$currentDate = Date::current(DB_DATE_FORMAT);
$timezone = timezone_name_from_abbr("", $timezoneOffset, 0);
date_default_timezone_set($timezone);
$currentDate = Date::current(DB_DATE_FORMAT);
// ============================================================================
// Create directories
// ============================================================================