mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Stopped logging being output if user not logged in
This commit is contained in:
@@ -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