This commit is contained in:
rMalie
2011-07-13 12:52:44 +00:00
parent 8981b6aaee
commit cd89d62a53
+3 -3
View File
@@ -37,9 +37,9 @@ include(INSTALL_PATH.'/../classes/Db.php');
include(INSTALL_PATH.'/../classes/Tools.php'); include(INSTALL_PATH.'/../classes/Tools.php');
include_once(INSTALL_PATH.'/../config/settings.inc.php'); include_once(INSTALL_PATH.'/../config/settings.inc.php');
Shop::setCurrentShop(); Context::getContext()->shop = Shop::initialize();
define('_THEME_NAME_', Shop::getCurrentTheme()); define('_THEME_NAME_', Context::getContext()->shop->getTheme());
define('__PS_BASE_URI__', Shop::getCurrentBaseURI()); define('__PS_BASE_URI__', Context::getContext()->shop->getBaseURI());
function isFormValid() function isFormValid()
{ {