replaced kernel.root_dir by kernel.project_dir

This commit is contained in:
Fabien Potencier
2017-04-07 09:57:51 -07:00
parent 762417a826
commit cafb4bb4b6
4 changed files with 4 additions and 4 deletions
@@ -9,6 +9,6 @@ doctrine:
App:
is_bundle: false
type: annotation
dir: "%kernel.root_dir%/../src/Entity"
dir: "%kernel.project_dir%/src/Entity"
prefix: "App\\Entity\\"
alias: App
+1 -1
View File
@@ -7,7 +7,7 @@
"src/": "%SRC_DIR%/"
},
"env": {
"#1": "For a sqlite database, use: \"sqlite:///%kernel.root_dir%/../var/data.db\"",
"#1": "For a sqlite database, use: \"sqlite:///%kernel.project_dir%/var/data.db\"",
"DB_URL": "mysql://root@127.0.0.1:3306/symfony?charset=utf8mb4"
},
"aliases": ["doctrine", "orm"]
@@ -8,7 +8,7 @@ framework:
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
#session:
# handler_id: session.handler.native_file
# save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
# save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
#esi: ~
#fragments: ~
php_errors:
@@ -1,4 +1,4 @@
twig:
paths: ["%kernel.root_dir%/../templates"]
paths: ["%kernel.project_dir%/templates"]
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"