File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed
App/FrontController/Plugin Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ public function beforeDispatch(
66
66
\Magento \Framework \App \FrontController $ subject ,
67
67
\Magento \Framework \App \RequestInterface $ request
68
68
) {
69
- $ reader = $ this ->readerList ->getReader ($ this ->runMode );
69
+ /* $reader = $this->readerList->getReader($this->runMode);
70
70
$defaultStoreId = $reader->getDefaultStoreId($this->scopeCode);
71
- $ this ->storeManager ->setCurrentStore ($ defaultStoreId );
71
+ $this->storeManager->setCurrentStore($defaultStoreId);*/
72
72
}
73
73
}
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
9
- <type name =" Magento\Framework\App\FrontControllerInterface" >
10
- <plugin name =" default_store_setter" type =" Magento\Store\App\FrontController\Plugin\DefaultStore" />
11
- </type >
12
9
<type name =" Magento\Framework\Notification\MessageList" >
13
10
<arguments >
14
11
<argument name =" messages" xsi : type =" array" >
Original file line number Diff line number Diff line change 115
115
<argument name =" cache" xsi : type =" object" >Magento\Framework\App\Cache\Type\Config</argument >
116
116
</arguments >
117
117
</type >
118
- <type name =" Magento\Store\App\FrontController\Plugin\DefaultStore" >
119
- <arguments >
120
- <argument name =" runMode" xsi : type =" init_parameter" >Magento\Store\Model\StoreManager::PARAM_RUN_TYPE</argument >
121
- <argument name =" scopeCode" xsi : type =" init_parameter" >Magento\Store\Model\StoreManager::PARAM_RUN_CODE</argument >
122
- </arguments >
123
- </type >
124
118
<virtualType name =" Magento\Store\Model\ResourceModel\Group\Collection\FetchStrategy" type =" Magento\Framework\Data\Collection\Db\FetchStrategy\Cache" >
125
119
<arguments >
126
120
<argument name =" cache" xsi : type =" object" >Magento\Framework\App\Cache\Type\Collection</argument >
You can’t perform that action at this time.
0 commit comments