]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
restore full database settings
authorNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 4 Feb 2015 20:26:15 +0000 (21:26 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 4 Feb 2015 20:26:15 +0000 (21:26 +0100)
app/config/config.yml
app/config/parameters.yml.dist

index f2f5f9f33b82f72b97c28ed5492633aacdb4317a..7dc1bf51fdec87e699088e197eb26084bbdd9000 100644 (file)
@@ -65,12 +65,12 @@ assetic:
 doctrine:
     dbal:
         driver:   "%database_driver%"
+        host: "%database_host%"
+        port: "%database_port%"
+        dbname: "%database_name%"
+        user: "%database_user%"
+        password: "%database_password%"
         charset:  UTF8
-        # if using pdo_sqlite as your database driver:
-        #   1. add the path in parameters.yml
-        #     e.g. database_path: "%kernel.root_dir%/data/data.db3"
-        #   2. Uncomment database_path in parameters.yml.dist
-        #   3. Uncomment next line:
         path:     "%database_path%"
 
     orm:
index 1c72b9a3e45281e4764fc8c462ca266011683d97..9c12150dc6a2b6ad67d67adad20cded3dde7f946 100644 (file)
@@ -1,6 +1,10 @@
 # This file is a "template" of what your parameters.yml file should look like
 parameters:
     database_driver:   pdo_sqlite
+    database_port: ~
+    database_name: symfony
+    database_user: root
+    database_password: ~
     database_path: "%kernel.root_dir%/../data/db/poche.sqlite"
 
     mailer_transport:  smtp