X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e4691005e29a540c1b18a553b9bc8e93bad59512..36447c488a78017dc533f7ed42bc8cf20c72556d:/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()