X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/301fd7f7e8d97755849e26427c12eed070f21b5f..9afebddb16b09e09fa9a74624dcd79475b476f10:/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()