function getOsm2pgsqlBinary()
{
$sBinary = getSetting('OSM2PGSQL_BINARY');
- if (!$sBinary) {
- $sBinary = CONST_InstallDir.'/osm2pgsql/osm2pgsql';
- }
- return $sBinary;
+ return $sBinary ? $sBinary : CONST_Default_Osm2pgsql;
}
function getImportStyle()