X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fc99954b2e8256c7d14b350e07be395bab7c6484..33ff96fd8323040f4551839e55c061b048329f66:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php old mode 100755 new mode 100644 index 0d2e6583..8ad96a95 --- a/utils/setup.php +++ b/utils/setup.php @@ -1,11 +1,6 @@ -#!@PHP_BIN@ -Cq indirect via init-cmd.php->/lib/cmd.php for runWithEnv, getCmdOpt -// ->indirect via init-cmd.php->/lib/init.php->db.php for &getDB() - require_once(CONST_BasePath.'/lib/setup/SetupClass.php'); require_once(CONST_BasePath.'/lib/setup_functions.php'); ini_set('memory_limit', '800M'); @@ -89,9 +84,7 @@ if ($aCMDResult['setup-db'] || $aCMDResult['all']) { } // Try accessing the C module, so we know early if something is wrong -if (!checkModulePresence()) { - fail('error loading nominatim.so module'); -} +checkModulePresence(); // raises exception on failure if ($aCMDResult['import-data'] || $aCMDResult['all']) { $bDidSomething = true;