Set Context::$_tpl_vars to global $__Context__

This commit is contained in:
Kijin Sung 2018-03-02 21:17:52 +09:00
parent 513f136c34
commit 76aafac4a7

View file

@ -244,7 +244,7 @@ class Context
}
// Set global variables for backward compatibility.
$GLOBALS['__Context__'] = $this;
$GLOBALS['__Context__'] = &self::$_tpl_vars;
// Set information about the current request.
$this->setRequestMethod();