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

Commita9aa86a

Browse files
committed
minor#12719 [minor] remove usage of Kernel::$rootDir from docs (jzawadzki)
This PR was submitted for the 5.0 branch but it was squashed and merged into the 4.3 branch instead (closes#12719).Discussion----------[minor] remove usage of Kernel::$rootDir from docsAs persymfony/symfony#28810 $rootDir has been removed in 5.0 - use getProjectDir in docs instead - small change to be consistentCommits-------9da96e1 [minor] remove usage of Kernel::$rootDir from docs
2 parentsdc0c33c +9da96e1 commita9aa86a

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