diff --git a/src/Template/Compiled.php b/src/Template/Compiled.php index caee87f32..5bdd9ac2a 100644 --- a/src/Template/Compiled.php +++ b/src/Template/Compiled.php @@ -248,7 +248,7 @@ private function loadCompiledTemplate(Template $_smarty_tpl) { if (function_exists('opcache_invalidate') && (!function_exists('ini_get') || strlen(ini_get("opcache.restrict_api")) < 1) ) { - opcache_invalidate($this->filepath, true); + opcache_invalidate($this->filepath, false); } elseif (function_exists('apc_compile_file')) { apc_compile_file($this->filepath); }