X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0947b618085f7d46515a3ec06cab5ed818e8635f..504922ffbecd42eed01dfb9da6bbf2c7aae9a094:/lib/setup_functions.php?ds=inline 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()