X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4fc5c2024bf42dd76825164b5d1110a7a602d384..01b009ff24494408b8b568bcc0f6c4ad4156b9ce:/utils/setup.php?ds=sidebyside diff --git a/utils/setup.php b/utils/setup.php index e0f74427..23b7b3a6 100644 --- a/utils/setup.php +++ b/utils/setup.php @@ -77,18 +77,11 @@ if ($aCMDResult['create-db'] || $aCMDResult['all']) { $oSetup->createDB(); } -if (!$aCMDResult['setup-website']) { - $oSetup->connect(); - // Try accessing the C module, so we know early if something is wrong - checkModulePresence(); // raises exception on failure -} - if ($aCMDResult['setup-db'] || $aCMDResult['all']) { $bDidSomething = true; $oSetup->setupDB(); } - if ($aCMDResult['import-data'] || $aCMDResult['all']) { $bDidSomething = true; $oSetup->importData($aCMDResult['osm-file']);