From 98931f76847928a418b798344ccd714bacde7591 Mon Sep 17 00:00:00 2001 From: nashe Date: Thu, 13 Jul 2017 11:58:25 +0100 Subject: Only display $Planet->errors in debug mode --- index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index a58d32c..7b7fbed 100755 --- a/index.php +++ b/index.php @@ -45,6 +45,8 @@ if (!OutputCache::Start($_GET['type'], $cache_key, $cache_duration)) { OutputCache::End(); } -echo ""; +if ($conf['debug'] === true) { + echo ""; +} -- cgit v1.2.1