magento 重写 config.xml

前端之家收集整理的这篇文章主要介绍了magento 重写 config.xml前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

两种办法:
1. 修改app/etc/modules/xxx.xml
<codePool>core</codePool>
<codePool>local</codePool>

2. 创建一个模块,模块配置文件如下,copy重新config.xml <config> <modules> <Yourcompany_Payment> <active>true</active> <codePool>local</codePool> <depends> <Mage_Payment/> </depends> </Yourcompany_Payment> </modules> </config>

原文链接:https://www.f2er.com/xml/293850.html

猜你在找的XML相关文章