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

Appearance settings

Commit b1290da

Browse filesBrowse files
[Config] Fix dumped files invalidation by OPCache
1 parent 817f594 commit b1290da
Copy full SHA for b1290da

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎src/Symfony/Component/Config/ConfigCache.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/ConfigCache.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ public function write($content, array $metadata = null)
149149
// discard chmod failure (some filesystem may not support it)
150150
}
151151
}
152+
153+
if (\function_exists('opcache_invalidate') && ini_get('opcache.enable')) {
154+
@opcache_invalidate($this->file, true);
155+
}
152156
}
153157

154158
/**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.