mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
is_command() 대체
This commit is contained in:
parent
9a78f0f0a0
commit
77122a32b2
6 changed files with 18 additions and 25 deletions
|
|
@ -38,7 +38,7 @@ class fileView extends file
|
|||
$oFileModel = getModel('file');
|
||||
$config = $oFileModel->getFileConfig($current_module_srl);
|
||||
Context::set('config', $config);
|
||||
Context::set('is_ffmpeg', is_command($config->ffmpeg_command) && is_command($config->ffprobe_command));
|
||||
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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue