mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
scrut fixes
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
|
||||
function dbQuery($sql, $parameters=array()) {
|
||||
global $fullSql, $debug, $sql_debug;
|
||||
global $fullSql, $debug, $sql_debug, $console_color;
|
||||
$fullSql = dbMakeQuery($sql, $parameters);
|
||||
if ($debug) {
|
||||
if (php_sapi_name() == 'cli' && empty($_SERVER['REMOTE_ADDR'])) {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
* Used by the other _query functions.
|
||||
* */
|
||||
|
||||
|
||||
function dbQuery($sql, $parameters=array()) {
|
||||
global $fullSql, $debug, $sql_debug, $console_color, $database_link;
|
||||
$fullSql = dbMakeQuery($sql, $parameters);
|
||||
|
||||
Reference in New Issue
Block a user