- minor optimizations

This commit is contained in:
uwetews
2015-10-29 21:41:21 +01:00
parent 862b23fe52
commit a0f583078d
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ class Smarty_Template_Compiled extends Smarty_Template_Resource_Base
opcache_invalidate($_template->compiled->filepath);
}
$_smarty_tpl = $_template;
if (strpos(phpversion(), 'hhvm') !== false) {
if (defined('HHVM_VERSION')) {
$_template->smarty->ext->_hhvm->includeHhvm($_template, $_template->compiled->filepath);
} else {
include($_template->compiled->filepath);