fix parameters config

This commit is contained in:
Nicolas Lœuillet 2015-01-28 13:43:23 +01:00
parent 2cdb0b8f40
commit 80709502c7
2 changed files with 2 additions and 8 deletions

View 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

View file

@ -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'];