diff options
Diffstat (limited to 'install/index.php')
-rwxr-xr-x | install/index.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php index fe5a5785..89dfc017 100755 --- a/install/index.php +++ b/install/index.php | |||
@@ -155,8 +155,10 @@ else if (isset($_POST['install'])) { | |||
155 | } | 155 | } |
156 | } | 156 | } |
157 | 157 | ||
158 | // create database structure | 158 | if ($_POST['db_engine'] != "sqlite") { |
159 | $query = $handle->exec($sql_structure); | 159 | // create database structure |
160 | $query = $handle->exec($sql_structure); | ||
161 | } | ||
160 | 162 | ||
161 | // Create user | 163 | // Create user |
162 | $handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); | 164 | $handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |