From: Sarah Hoffmann Date: Tue, 11 Aug 2015 21:09:50 +0000 (+0200) Subject: use url with php prefix in more url X-Git-Tag: v.2.5.0~33 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/c242386ddbfcce3dc9e03467b3bd97b5da89de49 use url with php prefix in more url User may not want to set up URL rewriting for suffixes. Fixes #241 --- 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';