aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorNicolas Hart <contact@nclshart.net>2017-10-13 23:52:15 +0200
committerNicolas Hart <contact@nclshart.net>2017-10-14 00:32:56 +0200
commit9ca069a6fea67ddf2ef44601901ea3c02e3cffbe (patch)
tree55bc8ee87f1f758bea7617bc24bc02c4a0c19408 /app/config/config.yml
parentf44a927530476eaf903525481e5e8114c3b017b8 (diff)
downloadwallabag-9ca069a6fea67ddf2ef44601901ea3c02e3cffbe.tar.gz
wallabag-9ca069a6fea67ddf2ef44601901ea3c02e3cffbe.tar.zst
wallabag-9ca069a6fea67ddf2ef44601901ea3c02e3cffbe.zip
Replace kernel.root_dir by kernel.project_dir
kernel.root_dir and Kernel::getRootDir() are deprecated since Symfony 3.3. See https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory and https://github.com/symfony/symfony/blob/3.3/UPGRADE-3.3.md#httpkernel for more information.
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index b76fb696..08da4f8f 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -16,7 +16,7 @@ framework:
16 fallback: "%locale%" 16 fallback: "%locale%"
17 secret: "%secret%" 17 secret: "%secret%"
18 router: 18 router:
19 resource: "%kernel.root_dir%/config/routing.yml" 19 resource: "%kernel.project_dir%/app/config/routing.yml"
20 strict_requirements: ~ 20 strict_requirements: ~
21 form: ~ 21 form: ~
22 csrf_protection: ~ 22 csrf_protection: ~
@@ -30,7 +30,7 @@ framework:
30 session: 30 session:
31 # handler_id set to null will use default session handler from php.ini 31 # handler_id set to null will use default session handler from php.ini
32 handler_id: session.handler.native_file 32 handler_id: session.handler.native_file
33 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" 33 save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
34 fragments: ~ 34 fragments: ~
35 http_method_override: true 35 http_method_override: true
36 assets: ~ 36 assets: ~
@@ -72,7 +72,7 @@ stof_doctrine_extensions:
72 sluggable: true 72 sluggable: true
73 73
74doctrine_migrations: 74doctrine_migrations:
75 dir_name: "%kernel.root_dir%/DoctrineMigrations" 75 dir_name: "%kernel.project_dir%/app/DoctrineMigrations"
76 namespace: Application\Migrations 76 namespace: Application\Migrations
77 table_name: migration_versions 77 table_name: migration_versions
78 name: Application Migrations 78 name: Application Migrations