// 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
2012-02-23 16:15:31 +00:00
parent d57e41f2a5
commit dc9929bbba
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ class InstallControllerHttpProcess extends InstallControllerHttp
global $smarty;
Context::getContext()->shop = new Shop(1);
Shop::setContext(Shop::CONTEXT_SHOP, 1);
Configuration::loadConfiguration();
Context::getContext()->language = new Language(Configuration::get('PS_LANG_DEFAULT'));
Context::getContext()->country = new Country('PS_COUNTRY_DEFAULT');