Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在与 WS-I 合规部合作。在这种情况下,我的一个第三方希望它被启用,另一个希望它一直被禁用。重要的是他们都希望它用于同一个模块。那么我该如何实现呢?
您需要设置模块启用然后如果您想放置单独的代码,您可以将此条件用于模块。
if(Mage::app()->getRequest()->getModuleName()=='modulename'){ //third party code }else{ //other party code }