mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Remove unnecessary arguments and deprecated function calls
- Originally committed on April 3, 2022
This commit is contained in:
parent
17279c264b
commit
b00f8b63d1
4 changed files with 13 additions and 9 deletions
|
|
@ -158,7 +158,7 @@ class fileController extends file
|
|||
}
|
||||
else
|
||||
{
|
||||
$this->add('download_url', FileModel::getDownloadUrl($output->get('file_srl'), $output->get('sid'), $module_srl, $output->get('source_filename')));
|
||||
$this->add('download_url', FileModel::getDownloadUrl($output->get('file_srl'), $output->get('sid'), 0, $output->get('source_filename')));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -305,7 +305,7 @@ class fileController extends file
|
|||
}
|
||||
|
||||
// Not allow the file outlink
|
||||
$file_module_config = FileModel::getFileModuleConfig($file_obj->module_srl);
|
||||
$file_module_config = FileModel::getFileConfig($file_obj->module_srl);
|
||||
if($file_module_config->allow_outlink == 'N' && $_SERVER["HTTP_REFERER"])
|
||||
{
|
||||
// Handles extension to allow outlink
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue