mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-26 19:23:23 +00:00
Update autoconfig.php
This commit is contained in:
1 parent
27c169dbe1
commit
1b719a8668
1 file changed
+2
-1
@@ -17,7 +17,8 @@ $domain_port = strpos($_SERVER['HTTP_HOST'], ':');
|
||||
if ($domain_port === FALSE) {
|
||||
$domain = substr($_SERVER['HTTP_HOST'], $domain_dot+1);
|
||||
$port = 443;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$domain = substr($_SERVER['HTTP_HOST'], $domain_dot+1, $domain_port-$domain_dot-1);
|
||||
$port = substr($_SERVER['HTTP_HOST'], $domain_port+1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user