8000 [minor] remove usage of Kernel::$rootDir from docs · symfony/symfony-docs@9da96e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9da96e1

Browse files
jzawadzkijaviereguiluz
authored andcommitted
[minor] remove usage of Kernel::$rootDir from docs
1 parent dc0c33c commit 9da96e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/kernel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ method to return the right project directory::
105105
Cache Directory
106106
~~~~~~~~~~~~~~~
107107

108-
**type**: ``string`` **default**: ``$this->rootDir/cache/$this->environment``
108+
**type**: ``string`` **default**: ``$this->getProjectDir()/var/cache/$this->environment``
109109

110110
This returns the absolute path of the cache directory of your Symfony project.
111111
It's calculated automatically based on the current
@@ -119,7 +119,7 @@ cache directory.
119119
Log Directory
120120
~~~~~~~~~~~~~
121121

122-
**type**: ``string`` **default**: ``$this->rootDir/log``
122+
**type**: ``string`` **default**: ``$this->getProjectDir()/var/log``
123123

124124
.. deprecated:: 4.2
125125

0 commit comments

Comments
 (0)
0