在Magento 1.9.1中使扩展兼容

时间:2015-06-11 05:00:58

标签: php magento magento-1.9.1

尝试安装使用以下Enterprise功能的扩展程序:enterprise_admingws / role

这是返回错误的代码

$role = Mage::getSingleton('enterprise_admingws/role');
        if ($role->getIsAll()) {
            return true; // super admin is found
        }

可以在Magento社区1.9.1

中进行更改

1 个答案:

答案 0 :(得分:1)

首先检查扩展程序是否已正确安装,如果已安装,则检查模块是否存在EE的任何其他依赖关系,如果有,则将其更改为使用社区版本中所需的信息。

希望这会有所帮助,祝你好运!