From 35019c3d3921a9caf65f9bb945400fb02a5c781c Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Tue, 22 Aug 2017 20:11:46 +0200 Subject: [PATCH] Try to disable displaying errors, not error reporting --- auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.php b/auth.php index 1e7bdaf..6d324cd 100755 --- a/auth.php +++ b/auth.php @@ -21,7 +21,7 @@ if (defined('headless')) { if (ob_get_level()) { ob_end_clean(); } - error_reporting(0); + ini_set('display_errors', '0'); } define('ROOT_DIR', __DIR__); require_once(ROOT_DIR . "/helpers/config.php");