mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Stopped logging being output if user not logged in
This commit is contained in:
+1
-1
@@ -338,7 +338,7 @@ toastr.options.extendedTimeOut = 20;
|
||||
echo("</script>");
|
||||
}
|
||||
|
||||
if (is_array($sql_debug) && is_array($php_debug)) {
|
||||
if (is_array($sql_debug) && is_array($php_debug) && $_SESSION['authenticated'] === TRUE) {
|
||||
|
||||
include_once "includes/print-debug.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user