mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-22 05:09:24 +02:00
Update autoconfig.php
This commit is contained in:
parent
27c169dbe1
commit
1b719a8668
@ -17,7 +17,8 @@ $domain_port = strpos($_SERVER['HTTP_HOST'], ':');
|
|||||||
if ($domain_port === FALSE) {
|
if ($domain_port === FALSE) {
|
||||||
$domain = substr($_SERVER['HTTP_HOST'], $domain_dot+1);
|
$domain = substr($_SERVER['HTTP_HOST'], $domain_dot+1);
|
||||||
$port = 443;
|
$port = 443;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$domain = substr($_SERVER['HTTP_HOST'], $domain_dot+1, $domain_port-$domain_dot-1);
|
$domain = substr($_SERVER['HTTP_HOST'], $domain_dot+1, $domain_port-$domain_dot-1);
|
||||||
$port = substr($_SERVER['HTTP_HOST'], $domain_port+1);
|
$port = substr($_SERVER['HTTP_HOST'], $domain_port+1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user