mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
context property의 이름과 템플릿 내의 변수 이름이 같을 경우 덮어쓰지는 문제 수정
This commit is contained in:
parent
8d812992e7
commit
51bd96b66a
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ class TemplateHandler
|
||||||
*/
|
*/
|
||||||
private function _fetch($filename)
|
private function _fetch($filename)
|
||||||
{
|
{
|
||||||
$__Context = Context::getInstance();
|
$__Context = (object) get_object_vars(Context::getInstance());
|
||||||
$__Context->tpl_path = $this->path;
|
$__Context->tpl_path = $this->path;
|
||||||
|
|
||||||
$__ob_level_before_fetch = ob_get_level();
|
$__ob_level_before_fetch = ob_get_level();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue