]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
forbid crawling of place hierarchy
[nominatim.git] / website / search.php
index a9e20d4eb47e564fa4889b42312869ecd8b3462e..cd522c5771c0fdd536b097d59aeec4b445881e22 100755 (executable)
        $aLangPrefOrder = getPreferredLanguages();
        $oGeocode->setLanguagePreference($aLangPrefOrder);
 
+    /*
        if (isset($aLangPrefOrder['name:de'])) $oGeocode->setReverseInPlan(true);
        if (isset($aLangPrefOrder['name:ru'])) $oGeocode->setReverseInPlan(true);
        if (isset($aLangPrefOrder['name:ja'])) $oGeocode->setReverseInPlan(true);
        if (isset($aLangPrefOrder['name:pl'])) $oGeocode->setReverseInPlan(true);
+    */
 
        // Format for output
        $sOutputFormat = 'html';