//added employee in the context when you install a shop
This commit is contained in:
1 parent
f69ada6525
commit
4953b8219a
1 file changed
+1
@@ -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';
|
||||
|
||||
|
||||
Reference in new issue
Block a user