From 223303ea3f0765d47056a966c55ecaa6f781e229 Mon Sep 17 00:00:00 2001 From: Moritz Schubotz Date: Thu, 13 Jul 2023 10:18:28 +0200 Subject: [PATCH] Do not overwrite error reporting settings --- quickstatements/public_html/api.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/quickstatements/public_html/api.php b/quickstatements/public_html/api.php index 8972ffc..dd9430f 100644 --- a/quickstatements/public_html/api.php +++ b/quickstatements/public_html/api.php @@ -4,8 +4,6 @@ * Forked from https://phabricator.wikimedia.org/source/tool-quickstatements/browse/master/ * see https://github.com/MaRDI4NFDI/docker-quickstatements/wiki */ -error_reporting(E_ERROR|E_CORE_ERROR|E_ALL|E_COMPILE_ERROR); // -ini_set('display_errors', 'On'); // return JSON by default if ( !isset($_REQUEST['openpage']) ) { @@ -47,4 +45,4 @@ function fin ( $status = '' ) { exit(1); } fin(); -?> \ No newline at end of file +?>