// Refactoring of shop class with new context
This commit is contained in:
1 parent
e7ea230525
commit
2d77925e7d
28 files changed
+216
-185
No files matched your search
@@ -82,8 +82,8 @@ class FrontControllerCore
|
||||
return;
|
||||
self::$initialized = true;
|
||||
|
||||
$this->id_current_shop = (int)Shop::getCurrentShop();
|
||||
$this->id_current_group_shop = (int)Shop::getCurrentGroupShop();
|
||||
$this->id_current_shop = Context::getContext()->shop->getID();
|
||||
$this->id_current_group_shop = Context::getContext()->shop->getGroupID();
|
||||
|
||||
$this->css_files = array();
|
||||
$this->js_files = array();
|
||||
|
||||
Reference in new issue
Block a user