// Set default timezone in installer if timezone not found in session
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12555 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
f660c74e76
commit
5e7d168e5e
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