两种办法:
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>