如何禁用Symfony 2分析器栏? [英] How do I disable the Symfony 2 profiler bar?

查看:168
本文介绍了如何禁用Symfony 2分析器栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它不是添加任何东西,它使页面更慢,我想要它走了。不要问网站上的分析器几乎没有,应用配置中没有任何内容。

It's not adding anything and it makes the page slower and I want it gone. Don't ask. There's little about the profiler on the website and nothing in the app config.

推荐答案

此设置位于 app / config / config_dev.yml

web_profiler:
    toolbar: true
    intercept_redirects: false

这篇关于如何禁用Symfony 2分析器栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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