X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/301fd7f7e8d97755849e26427c12eed070f21b5f..a74e736283c7871a2c47494f18cc65da6b43bccb:/lib/setup_functions.php diff --git a/lib/setup_functions.php b/lib/setup_functions.php index a2287d9b..dab6a8e7 100755 --- a/lib/setup_functions.php +++ b/lib/setup_functions.php @@ -17,12 +17,7 @@ function checkInFile($sOSMFile) function getOsm2pgsqlBinary() { - $sBinary = getSetting('OSM2PGSQL_BINARY'); - if (!$sBinary) { - $sBinary = CONST_InstallDir.'/osm2pgsql/osm2pgsql'; - } - - return $sBinary; + return getSetting('OSM2PGSQL_BINARY', CONST_Default_Osm2pgsql); } function getImportStyle()