Added HTTP_HOST to if statement

This commit is contained in:
Darkshredder
2021-03-30 03:02:55 +05:30
parent 27b379c1e3
commit 0b154a2a1a

View File

@@ -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'].'://'