Skip to content
Snippets Groups Projects
Commit 432a42d8 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fix case where port is missing

Forward port of 6d3b5b24fd4f82c1cbfbc4cade5246a0335f8dda to master
parent 5fb1374b
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,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'];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment