This commit is contained in:
Phoenix Eve Aspacio 2017-02-14 11:20:06 +00:00 committed by GitHub
commit f5237d2c73
1 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,7 @@
<?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',
'autodiscoverType' => 'activesync',
@ -23,6 +21,9 @@ $config = array(
);
/* ---------- DO NOT MODIFY ANYTHING BEYOND THIS LINE. IGNORE AT YOUR OWN RISK. ---------- */
if(file_exists('inc/vars.local.inc.php')) {
include_once 'inc/vars.local.inc.php';
}
if ($config['useEASforOutlook'] == 'no') {
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Outlook')) {