ecshop中的 debug_mode 是在哪里定义的??怎么用?谢谢
2011-11-29 21:45匿名
|
浏览 3362 次
2011-12-08 16:49
提问者采纳
在data/config.php 中加入 define('DEBUG_MODE', '0'); 就可以了.默认是没有的.需要自己手动添加的. DEBUG_MODE 有4种模式: 0 disabled debug 1 output error message 2 disabled caching 4 showing debug page 8 logging SQL query
例如
/*
DEBUG_MODE 有4种模式:
0 disabled debug
1 output error message
2 disabled caching
4 showing debug page
8 logging SQL query
*/
define('DEBUG_MODE', 8);
sql日志 在/data/目录下
/data/mysql_query_ceab627119d9907c71979d3f18692db5_2015_11_07.log