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() {