clo*_*eek 20
Dan*_*ris 13
"正确"的方法是创建一个类似于下面的小模块;
应用程序的/ etc /模块/ Organisation_Module.xml
<?xml version="1.0"?>
<config>
<modules>
<Organisation_Module>
<active>true</active>
<codePool>local</codePool>
</Organisation_Module>
</modules>
</config>
Run Code Online (Sandbox Code Playgroud)
和...
应用程序/代码/本地/组织/模块的/ etc/config.xml中
<?xml version="1.0"?>
<config>
<modules>
<Organisation_Module>
<version>0.0.1</version>
</Organisation_Module>
</modules>
<frontend>
<routers>
<contacts>
<use>standard</use>
<args>
<module>Mage_Contacts</module>
<frontName>contact-us.html</frontName>
</args>
</contacts>
</routers>
</frontend>
</config>
Run Code Online (Sandbox Code Playgroud)
上传你的文件,清除你的缓存,你很高兴.
| 归档时间: |
|
| 查看次数: |
18670 次 |
| 最近记录: |