mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
Change method calls to static in many core modules
This commit is contained in:
parent
89ec44152e
commit
c90d529c74
15 changed files with 361 additions and 605 deletions
|
|
@ -35,14 +35,12 @@ class fileView extends file
|
|||
}
|
||||
|
||||
// Get file configurations of the module
|
||||
$oFileModel = getModel('file');
|
||||
$config = $oFileModel->getFileConfig($current_module_srl);
|
||||
$config = FileModel::getFileConfig($current_module_srl);
|
||||
Context::set('config', $config);
|
||||
Context::set('is_ffmpeg', function_exists('exec') && Rhymix\Framework\Storage::isExecutable($config->ffmpeg_command) && Rhymix\Framework\Storage::isExecutable($config->ffprobe_command));
|
||||
|
||||
// Get a permission for group setting
|
||||
$oMemberModel = getModel('member');
|
||||
$group_list = $oMemberModel->getGroups();
|
||||
$group_list = MemberModel::getGroups();
|
||||
Context::set('group_list', $group_list);
|
||||
|
||||
// Set a template file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue