From 655aa9594e9bb49db55fe7b5bfe5882f97c6e4a1 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 13 Jun 2017 23:36:42 +0200 Subject: [PATCH] Never overwrite error_reporting --- data/web/autodiscover.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/autodiscover.php b/data/web/autodiscover.php index d729306f..3f2fd1b4 100644 --- a/data/web/autodiscover.php +++ b/data/web/autodiscover.php @@ -1,8 +1,6 @@ 'yes', 'autodiscoverType' => 'activesync', @@ -27,6 +25,8 @@ if(file_exists('inc/vars.local.inc.php')) { /* ---------- DO NOT MODIFY ANYTHING BEYOND THIS LINE. IGNORE AT YOUR OWN RISK. ---------- */ +error_reporting(0); + if ($config['useEASforOutlook'] == 'no') { if (strpos($_SERVER['HTTP_USER_AGENT'], 'Outlook')) { $config['autodiscoverType'] = 'imap';