Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc0c33c commit 9da96e1Copy full SHA for 9da96e1
reference/configuration/kernel.rst
@@ -105,7 +105,7 @@ method to return the right project directory::
105
Cache Directory
106
~~~~~~~~~~~~~~~
107
108
-**type**: ``string`` **default**: ``$this->rootDir/cache/$this->environment``
+**type**: ``string`` **default**: ``$this->getProjectDir()/var/cache/$this->environment``
109
110
This returns the absolute path of the cache directory of your Symfony project.
111
It's calculated automatically based on the current
@@ -119,7 +119,7 @@ cache directory.
119
Log Directory
120
~~~~~~~~~~~~~
121
122
-**type**: ``string`` **default**: ``$this->rootDir/log``
+**type**: ``string`` **default**: ``$this->getProjectDir()/var/log``
123
124
.. deprecated:: 4.2
125
0 commit comments