Update autodiscover.php

master
André Peters 2017-02-13 07:52:12 +01:00 committed by GitHub
parent a6c6e34fe9
commit 7668f82566
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
ini_set('error_reporting', '0');
$config = array( $config = array(
'useEASforOutlook' => 'yes', 'useEASforOutlook' => 'yes',
'autodiscoverType' => 'activesync', 'autodiscoverType' => 'activesync',
@ -25,7 +26,9 @@ if ($config['useEASforOutlook'] == 'no') {
} }
} }
require_once 'inc/vars.inc.php'; require_once 'inc/vars.inc.php';
if(file_exists('inc/vars.local.inc.php')) {
include_once 'inc/vars.local.inc.php'; include_once 'inc/vars.local.inc.php';
}
require_once 'inc/functions.inc.php'; require_once 'inc/functions.inc.php';
$dsn = "$database_type:host=$database_host;dbname=$database_name"; $dsn = "$database_type:host=$database_host;dbname=$database_name";