From c242386ddbfcce3dc9e03467b3bd97b5da89de49 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 11 Aug 2015 23:09:50 +0200 Subject: [PATCH] use url with php prefix in more url User may not want to set up URL rewriting for suffixes. Fixes #241 --- website/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/search.php b/website/search.php index a0f12bdd..b107e120 100755 --- a/website/search.php +++ b/website/search.php @@ -126,7 +126,7 @@ $bShowPolygons = (isset($_GET['polygon']) && $_GET['polygon']); $aExcludePlaceIDs = $oGeocode->getExcludedPlaceIDs(); - $sMoreURL = CONST_Website_BaseURL.'search?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs()); + $sMoreURL = CONST_Website_BaseURL.'search.php?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs()); if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) $sMoreURL .= '&accept-language='.$_SERVER["HTTP_ACCEPT_LANGUAGE"]; if ($bShowPolygons) $sMoreURL .= '&polygon=1'; if ($oGeocode->getIncludeAddressDetails()) $sMoreURL .= '&addressdetails=1'; -- 2.39.5