Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9da96e1

Browse files
jzawadzkijaviereguiluz
authored andcommitted
[minor] remove usage of Kernel::$rootDir from docs
1 parentdc0c33c commit9da96e1

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)

[8]ページ先頭

©2009-2025 Movatter.jp