Home > Backend Development > PHP Tutorial > ThinkPHP 封锁调试模式

ThinkPHP 封锁调试模式

WBOY
Release: 2016-06-13 10:30:49
Original
890 people have browsed it

ThinkPHP 关闭调试模式
我用ThinkPHP的时候发现在页面 Trace 信息上面的一些js不能响应了,所以想问ThinkPHP怎么关闭页面 Trace 信息,看文档好像说关闭调试模式就可以关闭页面 Trace 信息了,不过怎么关闭页面 Trace 信息啊,求助中~~~

------解决方案--------------------
那是开启了调试模式,当程序出现错误的时候能容易找出错误来。在最外层的config.php中加入'APP_DEBUG'=> false, 就行了,试试,及时清理缓存,试试把,希望对你有帮助……

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template