From aceaa57acdc94953659a28aed13e2bfb3b6631b5 Mon Sep 17 00:00:00 2001 From: Gavin Stewart Date: Mon, 1 Aug 2022 13:02:42 +1000 Subject: [PATCH] Disable dev level debug messages --- RESTfm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RESTfm.php b/RESTfm.php index 5af933c..79d39ca 100644 --- a/RESTfm.php +++ b/RESTfm.php @@ -26,8 +26,8 @@ $startTimeUs = microtime(TRUE); // Ensure E_STRICT is removed for PHP 5.4+ -//error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); -error_reporting(E_ALL & ~E_STRICT); // Dev. level reporting +error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); +//error_reporting(E_ALL & ~E_STRICT); // Dev. level reporting // x-debug's html error output makes CLI debugging with cURL a problem. ini_set('html_errors', FALSE);