[discuz建站技术]
Discuz! X 开启 debug 调试功能
[复制链接]
|
1.将 function_debug.php 放置
9 o: I" X, v% U1 o2 D3 t3 H& z2.打开
' ]2 g) R! D( v9 c8 d; H
) \: Z- E* e6 w. @. H5 Y9 B/ S% L在最后加入- <span style="font-size: 14px;" ";="" color:="" rgb(102,="" 102,="" 102);"="">$_config[</span><font color="#a31515" style="font-size: 14px;" ";"="">'debug'</font><span style="font-size: 14px;" ";="" color:="" rgb(102,="" 102,="" 102);"="">] = </span><font color="#a31515" style="font-size: 14px;" ";"="">'debug'</font><span style="font-size: 14px;" ";="" color:="" rgb(102,="" 102,="" 102);"="">;</span>
复制代码 或者- <span style="font-size: 14px; font-family: Tahoma, " ";="" color:="" rgb(102,="" 102,="" 102);"="">$_config[</span><font color="#a31515" style="font-size: 14px; font-family: Tahoma, " ";"="">'debug'</font><span style="font-size: 14px; font-family: Tahoma, " ";="" color:="" rgb(102,="" 102,="" 102);"="">] =1;</span>
复制代码 在这说明一下,: l" X* T+ Q, A; g5 S% u- _
当 $_config['debug'] 的值为debug或者其他自定义值的时候,开启debug功能需要在地址栏后加 ?debug=debug;
4 X: A0 k0 c1 N E3 S当 $_config['debug'] 的值为1的时候,全站(包括后台)默认开启debug功能;! f$ s7 a c; [4 d* A* Q9 H+ x" W
+ [3 P; U# I: M) M- X
6 c' F- h! n$ _, ~$ z
- r3 ^; D' n0 n: i
【魔趣吧资源下载指南】--默认解压密码:www.moqu8.com
1,如有异常请按 F5 刷新本页面!
【资源维权反馈】
2,首发及精品资源受到保护,扣除趣币!趣币可通过分享资源免费获得!懒人也可选择充值!
|
|