$oSetup->createDB();
}
-$oSetup->connect();
+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();
}
-// Try accessing the C module, so we know early if something is wrong
-checkModulePresence(); // raises exception on failure
if ($aCMDResult['import-data'] || $aCMDResult['all']) {
$bDidSomething = true;