在管理区域中启用Magento Varien_Profiler [英] Enable Magento Varien_Profiler in admin area

查看:66
本文介绍了在管理区域中启用Magento Varien_Profiler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在管理区域中启用Magento Profiler?

How do I enable Magento Profiler in the admin area?

我已经设置了admin选项,在Mage::run($mageRunCode, $mageRunType);之前添加了Varien_Profiler::enable();并清除了缓存,但是事件探查器的结果仅显示在前端?

I've set the admin option, added Varien_Profiler::enable(); before Mage::run($mageRunCode, $mageRunType); and cleared cache, but the profiler results only show in frontend?

我还想念其他东西吗?

推荐答案

系统>配置>开发人员中,检查是否在默认配置范围内启用了探查器开发人员IP限制为空或配置正确.

Check that profiler is enabled as well in the default configuration scope in System > Configuration > Developer and that Developer IP Restrictions are empty or configured correctly.

编辑:基于这个公认的答案,系统配置中的默认范围"将存储范围ID设置为0,这是毫无意义的.管理区域使用.

Based on this being the accepted answer, it's worth nothing that the "default scope" in the system configuration will store values against the store scope ID of 0, which is the store scope which the admin areas uses.

这篇关于在管理区域中启用Magento Varien_Profiler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆