mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
Replace some usages of getModel(), getController(), etc. with getInstance()
This commit is contained in:
parent
6f9bfb0bac
commit
052930a6d4
4 changed files with 31 additions and 31 deletions
|
|
@ -82,7 +82,7 @@ class DisplayHandler extends Handler
|
|||
|
||||
// execute add-on
|
||||
$called_position = 'before_display_content';
|
||||
$oAddonController = getController('addon');
|
||||
$oAddonController = AddonController::getInstance();
|
||||
$addon_file = $oAddonController->getCacheFilePath(Mobile::isFromMobilePhone() ? "mobile" : "pc");
|
||||
if(file_exists($addon_file)) include($addon_file);
|
||||
if($output === false || $output === null || $output instanceof BaseObject)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue