From cafb4bb4b6235fd7885b16231b0a505bd3de6f04 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 7 Apr 2017 09:57:51 -0700 Subject: [PATCH] replaced kernel.root_dir by kernel.project_dir --- doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml | 2 +- doctrine/doctrine-bundle/1.6/manifest.json | 2 +- symfony/framework-bundle/3.3/etc/packages/framework.yaml | 2 +- symfony/twig-bundle/3.3/etc/packages/twig.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml index 64e50629..39f823c6 100644 --- a/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.6/etc/packages/doctrine.yaml @@ -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 diff --git a/doctrine/doctrine-bundle/1.6/manifest.json b/doctrine/doctrine-bundle/1.6/manifest.json index 512b504b..c9f65225 100644 --- a/doctrine/doctrine-bundle/1.6/manifest.json +++ b/doctrine/doctrine-bundle/1.6/manifest.json @@ -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"] diff --git a/symfony/framework-bundle/3.3/etc/packages/framework.yaml b/symfony/framework-bundle/3.3/etc/packages/framework.yaml index b5f03325..18f47f56 100644 --- a/symfony/framework-bundle/3.3/etc/packages/framework.yaml +++ b/symfony/framework-bundle/3.3/etc/packages/framework.yaml @@ -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: diff --git a/symfony/twig-bundle/3.3/etc/packages/twig.yaml b/symfony/twig-bundle/3.3/etc/packages/twig.yaml index a0833c7e..dc748d5d 100644 --- a/symfony/twig-bundle/3.3/etc/packages/twig.yaml +++ b/symfony/twig-bundle/3.3/etc/packages/twig.yaml @@ -1,4 +1,4 @@ twig: - paths: ["%kernel.root_dir%/../templates"] + paths: ["%kernel.project_dir%/templates"] debug: "%kernel.debug%" strict_variables: "%kernel.debug%"