// Fix context initialization

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13570 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2012-02-23 16:15:31 +00:00
1 parent d57e41f2a5
commit dc9929bbba
2 files changed
+2

No files matched your search

+1
View File
@@ -88,6 +88,7 @@ if (!isset($_SERVER['HTTP_HOST']) || empty($_SERVER['HTTP_HOST']))
/* Initialize the current Shop */
Context::getContext()->shop = Shop::initialize();
Shop::setContext(Shop::CONTEXT_SHOP, Context::getContext()->shop->id);
define('_THEME_NAME_', Context::getContext()->shop->getTheme());
define('__PS_BASE_URI__', Context::getContext()->shop->getBaseURI());