DEBUG_SQL isn't defined during install, use quotes to avoid errors
This commit is contained in:
parent
55c3fd8f38
commit
b81d457bf7
@ -674,7 +674,7 @@ $_execs = 0;
|
||||
*/
|
||||
function _count_execs($db, $sql, $inputarray) {
|
||||
global $_execs;
|
||||
if ((defined(DEBUG_SQL) && DEBUG_SQL === true) || (!defined(DEBUG_SQL) && @$_GET['DEBUG_SQL'])) {
|
||||
if ((defined('DEBUG_SQL') && DEBUG_SQL === true) || (!defined('DEBUG_SQL') && @$_GET['DEBUG_SQL'])) {
|
||||
$fp = @fopen("data/sql.log", "a");
|
||||
if($fp) {
|
||||
if(isset($inputarray) && is_array($inputarray)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user