mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
Added HTTP_HOST to if statement
This commit is contained in:
@@ -67,7 +67,7 @@ if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
|
||||
}
|
||||
|
||||
if (isset($_SERVER['REQUEST_SCHEME'])
|
||||
&& isset($_SERVER['SERVER_NAME'])
|
||||
&& isset($_SERVER['HTTP_HOST'])
|
||||
&& isset($_SERVER['DOCUMENT_URI'])
|
||||
) {
|
||||
$sMoreURL = $_SERVER['REQUEST_SCHEME'].'://'
|
||||
|
||||
Reference in New Issue
Block a user