Index: branches/5.3.x/core/install.php =================================================================== diff -u -N -r15698 -r15902 --- branches/5.3.x/core/install.php (.../install.php) (revision 15698) +++ branches/5.3.x/core/install.php (.../install.php) (revision 15902) @@ -1,6 +1,6 @@ 'portal@' . $this->toolkit->getSystemConfig('Misc', 'Domain') ); - $site_timezone = ini_get('date.timezone') ? ini_get('date.timezone') : getenv('TZ'); + $site_timezone = date_default_timezone_get(); if ($site_timezone) { $config_values['Config_Site_Time'] = $site_timezone; @@ -1744,7 +1744,7 @@ */ function DBErrorHandler($code, $msg, $sql) { - $this->errorMessage = 'Query:
'.htmlspecialchars($sql, null, 'UTF-8').'
execution result is error:
['.$code.'] '.$msg; + $this->errorMessage = 'Query:
'.htmlspecialchars($sql, ENT_QUOTES, 'UTF-8').'
execution result is error:
['.$code.'] '.$msg; return true; }