最新回答
- 2019-12-51 #
- 2019-12-52 #
你可以使用这个工具:https://github.com/netz98/n98-magerun
$ n98-magerun.phar dev:module:disable MyVendor_MyModule $ n98-magerun.phar dev:module:disable --codepool="community"
你可以使用这个工具:https://github.com/netz98/n98-magerun
$ n98-magerun.phar dev:module:disable MyVendor_MyModule
$ n98-magerun.phar dev:module:disable --codepool="community"
没有Magento 1扩展的CLI命令,因为它是在Magento 2中添加的。如果从
app/etc/modules/Vendor_Module.xml
中找到的已安装扩展中检查文件 ,会有一个节点<active>true</active>
那应该是true
什么时候启用和false
什么时候禁用 此外,core_config_data
还有一个数据值 对于每个应该是0
的模块 如果扩展已启用和1
当它被禁用时.您可以使用以下查询选择:从那里,只需确保您的缓存已清除,注销& 回来。