From 325deafdd8c09cca7dfa16e2c688886c52e32110 Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 12 Apr 2015 16:27:55 +0100 Subject: [PATCH] Stopped logging being output if user not logged in --- html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.php b/html/index.php index 43c869f59..a7baf36ae 100755 --- a/html/index.php +++ b/html/index.php @@ -338,7 +338,7 @@ toastr.options.extendedTimeOut = 20; echo(""); } -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";