// 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:
@@ -107,8 +107,7 @@ abstract class InstallControllerHttp
|
|||||||
$session->last_step = self::$steps[0];
|
$session->last_step = self::$steps[0];
|
||||||
|
|
||||||
// Set timezone
|
// Set timezone
|
||||||
if ($session->shop_timezone)
|
@date_default_timezone_set($session->shop_timezone ? $session->shop_timezone : 'UTC');
|
||||||
@date_default_timezone_set($session->shop_timezone);
|
|
||||||
|
|
||||||
// Get current step (check first if step is changed, then take it from session)
|
// Get current step (check first if step is changed, then take it from session)
|
||||||
if (Tools::getValue('step'))
|
if (Tools::getValue('step'))
|
||||||
|
|||||||
Reference in New Issue
Block a user