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

Commitbe80db3

Browse files
[HttpKernel] Don't cache "not-fresh" state
1 parent350e110 commitbe80db3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/HttpKernel/Kernel.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,9 @@ protected function initializeContainer()
514514

515515
try {
516516
if (file_exists($cachePath) &&\is_object($this->container =include$cachePath)
517-
&& (!$this->debug || (self::$freshCache[$k =$cachePath.'.'.$this->environment] ??self::$freshCache[$k] =$cache->isFresh()))
517+
&& (!$this->debug || (self::$freshCache[$cachePath] ??$cache->isFresh()))
518518
) {
519+
self::$freshCache[$cachePath] =true;
519520
$this->container->set('kernel',$this);
520521
error_reporting($errorLevel);
521522

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp