Permalink
Browse files

Merge branch 'CorePack' of github.com:XoopsX/legacy into CorePack

  • Loading branch information...
nao-pon committed Oct 25, 2017
2 parents 2eba62a + cae1f45 commit 68589ef0d6916616b31b6ffc0e07c867aebc58e8
Showing with 3 additions and 0 deletions.
  1. +3 −0 html/class/logger.php
View
@@ -112,6 +112,9 @@ public function addQuery($sql, $error=null, $errno=null)
return;
}
$this->queries[] = array('sql' => $sql, 'error' => $error, 'errno' => $errno);
if ($error && defined('XOOPS_MYSQL_ERROR_LOG') && XOOPS_MYSQL_ERROR_LOG) {
error_log("XOOPS_MYSQL_ERROR_LOG: " . print_r(end($this->queries), true));
}
}
/**

0 comments on commit 68589ef

Please sign in to comment.