Skip to content

Instantly share code, notes, and snippets.

Created July 9, 2016 09:34
Show Gist options
  • Save anonymous/6fc3088618aedad27c4b11af31229a81 to your computer and use it in GitHub Desktop.
Save anonymous/6fc3088618aedad27c4b11af31229a81 to your computer and use it in GitHub Desktop.
ecshop debug mode
/*
DEBUG_MODE 有4种模式:
0 disabled debug
1 output error message
2 disabled caching
4 showing debug page
8 logging SQL query
在data/config.php 中加入
*/
define('DEBUG_MODE', 8);
sql日志 在/data/目录下
/data/mysql_query_ceab627119d9907c71979d3f18692db5_2015_11_07.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment