mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix inconsistent use of static and non-static methods in Context class
This commit is contained in:
parent
4dedd2508c
commit
8dac7bc5e9
2 changed files with 227 additions and 234 deletions
|
|
@ -366,14 +366,9 @@ class TemplateHandler
|
|||
return;
|
||||
}
|
||||
|
||||
$__Context = &$GLOBALS['__Context__'];
|
||||
$__Context = Context::getInstance();
|
||||
$__Context->tpl_path = $this->path;
|
||||
|
||||
if($_SESSION['is_logged'])
|
||||
{
|
||||
$__Context->logged_info = Context::get('logged_info');
|
||||
}
|
||||
|
||||
$level = ob_get_level();
|
||||
ob_start();
|
||||
if(substr($buff, 0, 7) == 'file://')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue