// Set timezone in new installer

This commit is contained in:
rMalie
2011-12-29 16:11:04 +00:00
parent de584ee4a1
commit 2ca6350545
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -106,6 +106,10 @@ abstract class InstallControllerHttp
if (!$session->last_step || !in_array($session->last_step, self::$steps))
$session->last_step = self::$steps[0];
// Set timezone
if ($session->shop_timezone)
@date_default_timezone_set($session->shop_timezone);
// Get current step (check first if step is changed, then take it from session)
if (Tools::getValue('step'))
{