// Set default timezone in installer if timezone not found in session
This commit is contained in:
1 parent
3953ebfe66
commit
2cb1d8538e
1 file changed
+1
-2
@@ -107,8 +107,7 @@ abstract class InstallControllerHttp
|
||||
$session->last_step = self::$steps[0];
|
||||
|
||||
// Set timezone
|
||||
if ($session->shop_timezone)
|
||||
@date_default_timezone_set($session->shop_timezone);
|
||||
@date_default_timezone_set($session->shop_timezone ? $session->shop_timezone : 'UTC');
|
||||
|
||||
// Get current step (check first if step is changed, then take it from session)
|
||||
if (Tools::getValue('step'))
|
||||
|
||||
Reference in new issue
Block a user