Isolate user-created template vars (Context::set) from Context instance properties

This commit is contained in:
Kijin Sung 2018-03-02 21:02:59 +09:00
parent bec5e9ec5d
commit 513f136c34
2 changed files with 53 additions and 67 deletions

View file

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