]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix parameters config
authorNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 28 Jan 2015 12:43:23 +0000 (13:43 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 28 Jan 2015 12:43:23 +0000 (13:43 +0100)
app/config/parameters.yml.dist
bin/install

index 36e3fe7f2a54b1360eb2c0db26e4a12143bb9655..977ab1a8fc937e0a2c23cf40627624cae46ac4c6 100644 (file)
@@ -1,12 +1,6 @@
 # This file is a "template" of what your parameters.yml file should look like
 parameters:
-    database_driver:   pdo_mysql
-    database_host:     127.0.0.1
-    database_port:     ~
-    database_name:     symfony
-    database_user:     root
-    database_password: ~
-    # You should uncomment this if you want use pdo_sqlite
+    database_driver:   pdo_sqlite
     database_path: "%kernel.root_dir%/data/db/poche.sqlite"
 
     mailer_transport:  smtp
index 61ffcb658ee97ff7bac689e5c7c24c5682d77d87..ed2c2d91119cf125f0eda7c168b5e41afb56633c 100755 (executable)
@@ -23,7 +23,7 @@ function executeQuery($handle, $sql, $params) {
 }
 
 $configFile      = 'app/config/config.inc.php';
-$dbFile          = 'app/db/poche.sqlite';
+$dbFile          = 'data/db/poche.sqlite';
 $username        = 'wallabag';
 $password        = 'wallabag';
 $salt            = $parameters['parameters']['secret'];