Skip to content

Commit c242386

Browse files
committed
use url with php prefix in more url
User may not want to set up URL rewriting for suffixes. Fixes osm-search#241
1 parent c9d7015 commit c242386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/search.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
$bShowPolygons = (isset($_GET['polygon']) && $_GET['polygon']);
127127
$aExcludePlaceIDs = $oGeocode->getExcludedPlaceIDs();
128128

129-
$sMoreURL = CONST_Website_BaseURL.'search?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs());
129+
$sMoreURL = CONST_Website_BaseURL.'search.php?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs());
130130
if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) $sMoreURL .= '&accept-language='.$_SERVER["HTTP_ACCEPT_LANGUAGE"];
131131
if ($bShowPolygons) $sMoreURL .= '&polygon=1';
132132
if ($oGeocode->getIncludeAddressDetails()) $sMoreURL .= '&addressdetails=1';

0 commit comments

Comments
 (0)