From f07f34a101b9bf38b771a0ab8426a9731023f998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 22 Dec 2018 23:45:39 +0100 Subject: [PATCH] only show xdebug if installed --- www/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index c745f17..722ab40 100644 --- a/www/index.php +++ b/www/index.php @@ -202,7 +202,8 @@ try { } else { - echo ''.$e->xdebug_message.'
'; + if (isset($e->xdebug_message)) echo ''.$e->xdebug_message.'
'; + else echo nl2br($e); } }