]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
forbid bots on new lookup call
[nominatim.git] / website / search.php
index bf27ef9a8157e734536b60196f35f009cf3d19ba..18b47e1ddc5d1bcb2dd9a0a833ba4b660e91557e 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';