Revert "context property의 이름과 템플릿 내의 변수 이름이 같을 경우 덮어쓰지는 문제 수정"

This reverts commit 51bd96b66a.
This commit is contained in:
conory 2018-02-01 15:34:00 +09:00
parent 51bd96b66a
commit 13ebfbfa8c

View file

@ -344,7 +344,7 @@ class TemplateHandler
*/
private function _fetch($filename)
{
$__Context = (object) get_object_vars(Context::getInstance());
$__Context = Context::getInstance();
$__Context->tpl_path = $this->path;
$__ob_level_before_fetch = ob_get_level();