mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
Enable static calling of Context::init() and convert unnecessary instance properties into static properties
This commit is contained in:
parent
76aafac4a7
commit
9d06f6a9e2
3 changed files with 97 additions and 76 deletions
|
|
@ -983,6 +983,10 @@ class TemplateHandler
|
|||
{
|
||||
return '$' . $matches[1];
|
||||
}
|
||||
elseif ($matches[1] === 'lang')
|
||||
{
|
||||
return '$GLOBALS[\'lang\']';
|
||||
}
|
||||
else
|
||||
{
|
||||
return '$__Context->' . $matches[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue