A free, self-hostable news aggregator…
Fix commit précédent: BDD existante utilisable
Marien Fressinaud94b2e444bb2d
diff --git a/public/install.php b/public/install.phpindex 46605fe6b..7b485e500 100644--- a/public/install.php+++ b/public/install.php@@ -327,10 +327,6 @@ function checkBD () {$sql = sprintf (SQL_REQ_CREATE_DB, $_SESSION['bd_name']);$res = $c->query ($sql);- if (!$res) {- throw new PDOException();- }-// on écrase la précédente connexion en sélectionnant la nouvelle BDD$str = 'mysql:host=' . $_SESSION['bd_host'] . ';dbname=' . $_SESSION['bd_name'];} elseif($_SESSION['bd_type'] == 'sqlite') {