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(
6666 \Magento \Framework \App \FrontController $ subject ,
6767 \Magento \Framework \App \RequestInterface $ request
6868 ) {
69- $ reader = $ this ->readerList ->getReader ($ this ->runMode );
69+ /* $reader = $this->readerList->getReader($this->runMode);
7070 $defaultStoreId = $reader->getDefaultStoreId($this->scopeCode);
71- $ this ->storeManager ->setCurrentStore ($ defaultStoreId );
71+ $this->storeManager->setCurrentStore($defaultStoreId);*/
7272 }
7373}
Original file line number Diff line number Diff line change 66 */
77-->
88<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 >
129 <type name =" Magento\Framework\Notification\MessageList" >
1310 <arguments >
1411 <argument name =" messages" xsi : type =" array" >
Original file line number Diff line number Diff line change 115115 <argument name =" cache" xsi : type =" object" >Magento\Framework\App\Cache\Type\Config</argument >
116116 </arguments >
117117 </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 >
124118 <virtualType name =" Magento\Store\Model\ResourceModel\Group\Collection\FetchStrategy" type =" Magento\Framework\Data\Collection\Db\FetchStrategy\Cache" >
125119 <arguments >
126120 <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