toggle for sql debugging

This commit is contained in:
Shish
2012-01-30 05:00:21 +00:00
parent 8623ab2917
commit 55447d1aa8
2 changed files with 2 additions and 1 deletions

View File

@@ -409,7 +409,7 @@ function check_cli() {
*/
function _count_execs($db, $sql, $inputarray) {
global $_execs;
if(DEBUG) {
if(DEBUG_SQL) {
$fp = @fopen("data/sql.log", "a");
if($fp) {
if(is_array($inputarray)) {