]> git.openstreetmap.org Git - nominatim.git/commitdiff
disable selective reverse plan. again.
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 17 Sep 2013 16:55:37 +0000 (18:55 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 17 Sep 2013 16:55:37 +0000 (18:55 +0200)
website/search.php

index 7e96e10e629ce7a208687190af3dc64477b25852..29c87320f7b11e87be427d7d7d19e8a9bc1659d7 100755 (executable)
        $aLangPrefOrder = getPreferredLanguages();
        $oGeocode->setLanguagePreference($aLangPrefOrder);
 
        $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);
        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);
+    */
 
        function loadParamsToGeocode($oGeocode, $aParams, $bBatch = false)
        {
 
        function loadParamsToGeocode($oGeocode, $aParams, $bBatch = false)
        {