From 82754451ad7380d8c396ce84805402ddacc5dc3c Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 13 Jul 2011 12:52:44 +0000 Subject: [PATCH] git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7618 b9a71923-0436-4b27-9f14-aed3839534dd --- install-dev/xml/checkShopInfos.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-dev/xml/checkShopInfos.php b/install-dev/xml/checkShopInfos.php index d3fa67e34..531545cff 100644 --- a/install-dev/xml/checkShopInfos.php +++ b/install-dev/xml/checkShopInfos.php @@ -37,9 +37,9 @@ include(INSTALL_PATH.'/../classes/Db.php'); include(INSTALL_PATH.'/../classes/Tools.php'); include_once(INSTALL_PATH.'/../config/settings.inc.php'); -Shop::setCurrentShop(); -define('_THEME_NAME_', Shop::getCurrentTheme()); -define('__PS_BASE_URI__', Shop::getCurrentBaseURI()); +Context::getContext()->shop = Shop::initialize(); +define('_THEME_NAME_', Context::getContext()->shop->getTheme()); +define('__PS_BASE_URI__', Context::getContext()->shop->getBaseURI()); function isFormValid() {