X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5e989b9296eca989acde165a4ff4b29e20cf5dfd..504922ffbecd42eed01dfb9da6bbf2c7aae9a094:/lib/setup_functions.php diff --git a/lib/setup_functions.php b/lib/setup_functions.php index dab6a8e7..dc84cf92 100755 --- a/lib/setup_functions.php +++ b/lib/setup_functions.php @@ -17,7 +17,9 @@ function checkInFile($sOSMFile) function getOsm2pgsqlBinary() { - return getSetting('OSM2PGSQL_BINARY', CONST_Default_Osm2pgsql); + $sBinary = getSetting('OSM2PGSQL_BINARY'); + + return $sBinary ? $sBinary : CONST_Default_Osm2pgsql; } function getImportStyle()