diff --git a/framework/library/astroid/Template.php b/framework/library/astroid/Template.php index ccca15ee..e6952e61 100644 --- a/framework/library/astroid/Template.php +++ b/framework/library/astroid/Template.php @@ -107,7 +107,9 @@ private function _set($id) $this->isAstroid = true; } if ($this->isAstroid) { - define('ASTROID_TEMPLATE_NAME', $this->template); + if (!defined('ASTROID_TEMPLATE_NAME')) { + define('ASTROID_TEMPLATE_NAME', $this->template); + } Helper::loadLanguage('astroid'); } }