mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
파일이 업로드되지 않을 수 있는 문제 수정
This commit is contained in:
parent
395266ca22
commit
8adc874707
1 changed files with 1 additions and 2 deletions
|
|
@ -26,8 +26,7 @@ class fileController extends file
|
|||
function procFileUpload()
|
||||
{
|
||||
Context::setRequestMethod('JSON');
|
||||
|
||||
$file_info = Context::get('Filedata');
|
||||
$file_info = $_FILES['Filedata'];
|
||||
|
||||
// An error appears if not a normally uploaded file
|
||||
if(!is_uploaded_file($file_info['tmp_name'])) exit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue