mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Remove all calls to checkUploadedFile()
This commit is contained in:
parent
37c07f7b6e
commit
5d7853645a
9 changed files with 15 additions and 51 deletions
|
|
@ -763,12 +763,10 @@ class fileController extends file
|
|||
$filename = $path.$random->createSecureSalt(32, 'hex');
|
||||
$direct_download = 'N';
|
||||
}
|
||||
|
||||
// Create a directory
|
||||
if(!FileHandler::makeDir($path)) return new Object(-1,'msg_not_permitted_create');
|
||||
|
||||
// Check uploaded file
|
||||
if(!checkUploadedFile($file_info['tmp_name'])) return new Object(-1,'msg_file_upload_error');
|
||||
|
||||
// Get random number generator
|
||||
$random = new Password();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue