]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - install/index.php
Merge branch 'dev'
[github/wallabag/wallabag.git] / install / index.php
index fe5a5785fe5643d03d819bcb088ae080810534ee..89dfc0177f58a3a5a6595db9823f4dd9314480a5 100755 (executable)
@@ -155,8 +155,10 @@ else if (isset($_POST['install'])) {
                     }
                 }
 
-                // create database structure
-                $query = $handle->exec($sql_structure);
+                if ($_POST['db_engine'] != "sqlite") {
+                    // create database structure
+                    $query = $handle->exec($sql_structure);
+                }
 
                 // Create user
                 $handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);