Skip to content

Commit 7012061

Browse files
committed
[minor] remove usage of Kernel::$rootDir from docs
1 parent ec8b84b commit 7012061

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
@@ -87,7 +87,7 @@ method to return the right project directory::
8787
Cache Directory
8888
~~~~~~~~~~~~~~~
8989

90-
**type**: ``string`` **default**: ``$this->rootDir/cache/$this->environment``
90+
**type**: ``string`` **default**: ``$this->getProjectDir()/var/cache/'$this->environment``
9191

9292
This returns the absolute path of the cache directory of your Symfony project.
9393
It's calculated automatically based on the current
@@ -101,7 +101,7 @@ cache directory.
101101
Log Directory
102102
~~~~~~~~~~~~~
103103

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

106106
This returns the absolute path of the log directory of your Symfony project.
107107
It's calculated automatically based on the current

0 commit comments

Comments
 (0)