From 9126fdfd8a7311a432ed6e14aa26af3b2f6f6e76 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Wed, 14 Dec 2016 23:12:07 +0100 Subject: [PATCH] Fix sample sqlite database path in doctrine config --- reference/configuration/doctrine.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 1a58cfaeaa0..8ce3a436dcd 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -203,7 +203,7 @@ Full Default Configuration password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.data_dir%/data.sqlite" + path="%kernel.root_dir%/../var/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper" @@ -431,7 +431,7 @@ The following block shows all possible configuration keys: password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.data_dir%/data.sqlite" + path="%kernel.root_dir%/../var/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper"