From 27b379c1e3820fdf5e056a4b773e4e224dd0c44b Mon Sep 17 00:00:00 2001 From: Darkshredder Date: Tue, 30 Mar 2021 01:02:43 +0530 Subject: [PATCH] fixed: XML format: more_url points to localhost, not base URL --- lib-php/website/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-php/website/search.php b/lib-php/website/search.php index 619dec6d..f8162d68 100644 --- a/lib-php/website/search.php +++ b/lib-php/website/search.php @@ -71,7 +71,7 @@ if (isset($_SERVER['REQUEST_SCHEME']) && isset($_SERVER['DOCUMENT_URI']) ) { $sMoreURL = $_SERVER['REQUEST_SCHEME'].'://' - .$_SERVER['SERVER_NAME'].$_SERVER['DOCUMENT_URI'].'/?' + .$_SERVER['HTTP_HOST'].$_SERVER['DOCUMENT_URI'].'/?' .http_build_query($aMoreParams); } else { $sMoreURL = '/search.php'.http_build_query($aMoreParams); -- 2.39.5