如何清除CakePHP的尾随时间基准评论 [英] How to remove CakePHP's trailing timing benchmark comment

查看:166
本文介绍了如何清除CakePHP的尾随时间基准评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用这个可怕的问题几个小时,Googled尽可能多,但仍然不幸的找出解决方案。

I've been with this awful problem for hours, Googled as much as I can but still unlucky to figure out the solution.

问题是:

由CakdPHP呈现的每个网页都有默认的尾随时间基准注释,例如:

each page rendered by CakdPHP has a default trailing timing benchmark comment, such as:

<html>
   <head />
   <body />
</html>
<!-- 3.4533s !-->

如何删除最后一行?在这里输入代码

How can I remove the last line?enter code here?

推荐答案

// core.php or anywhere else:
Configure::write('debug', 0);

这篇关于如何清除CakePHP的尾随时间基准评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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