From 46d0aad272b79bc8a867c6b0afde91457a8c78d2 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 23 Oct 2017 18:24:25 +0200 Subject: [PATCH] only show errors when debugging is enabled --- src/public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/index.php b/src/public/index.php index fc9372b..fa68222 100644 --- a/src/public/index.php +++ b/src/public/index.php @@ -12,7 +12,7 @@ require '../config/config.php'; date_default_timezone_set('UTC'); $config = [ 'settings' => [ - 'displayErrorDetails' => true, + 'displayErrorDetails' => DEBUG_ENABLED, ], ];