mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-29 10:13:25 +02:00
- load seldom used Smarty API methods dynamically to reduce memory footprint
This commit is contained in:
@@ -73,8 +73,8 @@ abstract class Smarty_CacheResource
|
||||
{
|
||||
if ($_template->cached->handler->process($_template)) {
|
||||
ob_start();
|
||||
$_template->cached->unifunc($_template);
|
||||
|
||||
$unifunc = $_template->cached->unifunc;
|
||||
$unifunc($_template);
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user