[Web] Minor changes
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
<?php
|
||||
|
||||
// Slave does not serve UI
|
||||
if (!preg_match('/y|yes/i', getenv('MASTER'))) {
|
||||
header('Location: /SOGo', true, 307);
|
||||
}
|
||||
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';
|
||||
$default_autodiscover_config = $autodiscover_config;
|
||||
|
||||
|
Reference in New Issue
Block a user