diff options
| author | 2013-10-07 12:36:21 +0200 | |
|---|---|---|
| committer | 2013-10-07 12:36:21 +0200 | |
| commit | 94b2e444bb2dff37fbfb0973ef0489f4ae36af1d (patch) | |
| tree | fb7ff60d0dddc0193a5206967199454ae95e0a96 /public/install.php | |
| parent | 3c0624b07bcfb97f3c8865232936d7b380e0a80a (diff) | |
Fix commit précédent: BDD existante utilisable
Le commit précédent faisait qu'on ne pouvait plus utiliser une BDD existante
Corrigé (issue #145)
Diffstat (limited to 'public/install.php')
| -rw-r--r-- | public/install.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/public/install.php b/public/install.php index 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') { |
