//added employee in the context when you install a shop

This commit is contained in:
vAugagneur
2013-02-26 15:06:01 +01:00
parent f69ada6525
commit 4953b8219a
+1
View File
@@ -68,6 +68,7 @@ class InstallControllerHttpProcess extends InstallControllerHttp
Context::getContext()->language = new Language(Configuration::get('PS_LANG_DEFAULT'));
Context::getContext()->country = new Country('PS_COUNTRY_DEFAULT');
Context::getContext()->cart = new Cart();
Context::getContext()->employee = new Employee(1);
define('_PS_SMARTY_FAST_LOAD_', true);
require_once _PS_ROOT_DIR_.'/config/smarty.config.inc.php';