8000 [HttpKernel] ignore failuresgenerated by opcache.restrict_api · symfony/symfony@e411b65 · GitHub
[go: up one dir, main page]

Skip to content

Commit e411b65

Browse files
[HttpKernel] ignore failuresgenerated by opcache.restrict_api
1 parent d7a0679 commit e411b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public function write($content, array $metadata = null)
552552
}
553553

554554
if (\function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN)) {
555-
opcache_invalidate($this->getPath(), true);
555+
@opcache_invalidate($this->getPath(), true);
556556
}
557557
}
558558

0 commit comments

Comments
 (0)
0