From 8214c1c4edecb60f5e6c2231151996ded677a2bb Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 29 Jul 2024 13:43:36 +0200 Subject: [PATCH] Fixing forced OpCache Invalidation on every call, which is resulting in fast raising wasted memory https://github.com/smarty-php/smarty/issues/1007 --- src/Template/Compiled.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Template/Compiled.php b/src/Template/Compiled.php index 3c1acc844..a7044055e 100644 --- a/src/Template/Compiled.php +++ b/src/Template/Compiled.php @@ -254,7 +254,7 @@ private function loadCompiledTemplate(Template $_smarty_tpl, bool $invalidateCac } elseif (function_exists('apc_compile_file')) { apc_compile_file($this->filepath); } - } + } if (defined('HHVM_VERSION')) { eval('?>' . file_get_contents($this->filepath)); } else {