X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3238682a8867edfb3c052ca4d2d27b3926ad17a..bb6c8d45fe688b593caedf359a3c19acfec7dad1:/lib/setup_functions.php diff --git a/lib/setup_functions.php b/lib/setup_functions.php index a2287d9b..dc84cf92 100755 --- a/lib/setup_functions.php +++ b/lib/setup_functions.php @@ -18,11 +18,8 @@ function checkInFile($sOSMFile) function getOsm2pgsqlBinary() { $sBinary = getSetting('OSM2PGSQL_BINARY'); - if (!$sBinary) { - $sBinary = CONST_InstallDir.'/osm2pgsql/osm2pgsql'; - } - return $sBinary; + return $sBinary ? $sBinary : CONST_Default_Osm2pgsql; } function getImportStyle()