Browse Source

Update autodiscover.php

André Peters 8 years ago
parent
commit
7781e5f37d
1 changed files with 5 additions and 3 deletions
  1. 5 3
      data/web/autodiscover.php

+ 5 - 3
data/web/autodiscover.php

@@ -1,8 +1,6 @@
 <?php
 require_once 'inc/vars.inc.php';
-if(file_exists('inc/vars.local.inc.php')) {
-	include_once 'inc/vars.local.inc.php';
-}
+
 ini_set('error_reporting', '0');
 $config = array(
      'useEASforOutlook' => 'yes',
@@ -22,6 +20,10 @@ $config = array(
      )
 );
 
+if(file_exists('inc/vars.local.inc.php')) {
+	include_once 'inc/vars.local.inc.php';
+}
+
 /* ---------- DO NOT MODIFY ANYTHING BEYOND THIS LINE. IGNORE AT YOUR OWN RISK. ---------- */
 
 if ($config['useEASforOutlook'] == 'no') {