Update autoconfig.php
parent
27c169dbe1
commit
1b719a8668
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue