From: Nicolas LÅ“uillet Date: Wed, 8 Oct 2014 19:23:34 +0000 (+0200) Subject: query for populate mysql/postgres was called when we choosed sqlite X-Git-Tag: 1.8.0^2~2^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=20b4d7d621fd7e4d3078b9928fbf7643da64f08b;p=github%2Fwallabag%2Fwallabag.git query for populate mysql/postgres was called when we choosed sqlite --- diff --git a/install/index.php b/install/index.php index 00ac4a23..89dfc017 100755 --- a/install/index.php +++ b/install/index.php @@ -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); @@ -254,7 +256,7 @@ else if (isset($_POST['install'])) {

To install wallabag, you just have to fill the following fields. That's all.

-

Don't forget to check your server compatibility here.

+

Don't forget to check your server compatibility here.

Technical settings