From eab8a101e7a3fcbb41e01a574985e06c5a3775de Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 18 Oct 2018 02:40:38 +0200 Subject: Updating Smarty --- lib/smarty3/sysplugins/smarty_resource_recompiled.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/smarty3/sysplugins/smarty_resource_recompiled.php') diff --git a/lib/smarty3/sysplugins/smarty_resource_recompiled.php b/lib/smarty3/sysplugins/smarty_resource_recompiled.php index 7e51d1b..760c4dd 100644 --- a/lib/smarty3/sysplugins/smarty_resource_recompiled.php +++ b/lib/smarty3/sysplugins/smarty_resource_recompiled.php @@ -49,9 +49,8 @@ abstract class Smarty_Resource_Recompiled extends Smarty_Resource $_smarty_tpl->loadCompiler(); // call compiler try { - eval("?>" . $_smarty_tpl->compiler->compileTemplate($_smarty_tpl)); - } - catch (Exception $e) { + eval('?>' . $_smarty_tpl->compiler->compileTemplate($_smarty_tpl)); + } catch (Exception $e) { unset($_smarty_tpl->compiler); while (ob_get_level() > $level) { ob_end_clean(); @@ -68,8 +67,8 @@ abstract class Smarty_Resource_Recompiled extends Smarty_Resource /** * populate Compiled Object with compiled filepath * - * @param Smarty_Template_Compiled $compiled compiled object - * @param Smarty_Internal_Template $_template template object + * @param Smarty_Template_Compiled $compiled compiled object + * @param Smarty_Internal_Template $_template template object * * @return void */ @@ -85,6 +84,9 @@ abstract class Smarty_Resource_Recompiled extends Smarty_Resource * * @return bool */ + /** + * @return bool + */ public function checkTimestamps() { return false; -- cgit v1.2.3