// Fix installer context

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12704 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-26 09:57:27 +00:00
parent 350f3ec749
commit d1e9dadec8
+2
View File
@@ -153,6 +153,8 @@ class InstallControllerHttpProcess extends InstallControllerHttp
Context::getContext()->shop = new Shop(1);
Configuration::loadConfiguration();
Context::getContext()->language = new Language(Configuration::get('PS_LANG_DEFAULT'));
Context::getContext()->country = new Country('PS_COUNTRY_DEFAULT');
Context::getContext()->cart = new Cart();
require_once _PS_ROOT_DIR_.'/config/smarty.config.inc.php';
Context::getContext()->smarty = $smarty;