Skip to content

Commit

Permalink
Fixing forced OpCache Invalidation on every call, which is resulting …
Browse files Browse the repository at this point in the history
…in fast raising wasted memory

smarty-php#1007
  • Loading branch information
stephanlueckl committed Jul 29, 2024
1 parent 66f9ed5 commit 8214c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Compiled.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8214c1c

Please sign in to comment.