打开调试模式
如何打开调试模式
在网站根目录下( tpl 或 16ourCms/_Core/Tpl)文件夹下有 think_exception 开头的两个文件,把较大的文件文件名改为think_exception.tpl 就是打开调试模式
。比如有两个文件:
文件名 大小
think_exception.tpl 1kb
think_exception2.tpl 2kb
那么就把这两个文件名对换一下即可think_exception1.tpl 1kb
think_exception.tpl 2kb
这样就是开启了调试模式,反之就是关闭调试模式。
温馨提示:如果在调试完程序之后,请马上关闭调试。