mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
Use FrontEndFileHandler as a singleton
This commit is contained in:
parent
df1c365872
commit
5ccd4f68d9
2 changed files with 21 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ class Context
|
|||
{
|
||||
// Create a singleton instance and initialize static properties.
|
||||
self::$_instance = new Context();
|
||||
self::$_oFrontEndFileHandler = self::$_instance->oFrontEndFileHandler = new FrontEndFileHandler();
|
||||
self::$_oFrontEndFileHandler = self::$_instance->oFrontEndFileHandler = FrontEndFileHandler::getInstance();
|
||||
self::$_user_vars = self::$_user_vars ?: new stdClass;
|
||||
}
|
||||
return self::$_instance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue