parent
5fb1374b0f
commit
432a42d846
|
@ -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'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue