mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-06 16:04:31 +08:00
Merge pull request #2329 from vain90/master
Move unset https_port after include of vars local inc
This commit is contained in:
commit
4d7f2618ad
@ -1,10 +1,11 @@
|
||||
<?php
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.inc.php';
|
||||
$default_autodiscover_config = $autodiscover_config;
|
||||
unset($https_port);
|
||||
|
||||
if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/inc/vars.local.inc.php')) {
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/inc/vars.local.inc.php';
|
||||
}
|
||||
unset($https_port);
|
||||
$autodiscover_config = array_merge($default_autodiscover_config, $autodiscover_config);
|
||||
|
||||
header_remove("X-Powered-By");
|
||||
|
Loading…
Reference in New Issue
Block a user