mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix case where port is missing
This commit is contained in:
parent
4286eeb531
commit
6d3b5b24fd
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class OC_Request {
|
|||
if (isset($_SERVER['HTTP_HOST'])) {
|
||||
$host = $_SERVER['HTTP_HOST'];
|
||||
}
|
||||
if (isset($_SERVER['SERVER_NAME'])) {
|
||||
else if (isset($_SERVER['SERVER_NAME'])) {
|
||||
$host = $_SERVER['SERVER_NAME'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue