【转】如何开启ecshop 的debugging

最简单的方法是在data/config.php 中加入
define('DEBUG_MODE', '15');
 就可以了.其中各种模式的函义.
DEBUG_MODE 有4种模式:
0 disabled debug 
1 output error message
2 disabled caching
4 showing debug page
8 logging SQL query
15=1+2+4+8
所有的调试模式都开启了在生产坏境建议:

define('DEBUG_MODE', '0');

切记关闭所有调试信息
转的,可是转的连接我忘了
posted @ 2015-02-10 11:48  谢小妹  阅读(213)  评论(0)    收藏  举报