mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
parent
6d081b9fec
commit
60d390f52e
5 changed files with 79 additions and 23 deletions
|
|
@ -26,7 +26,7 @@ class fileController extends file
|
|||
function procFileUpload()
|
||||
{
|
||||
Context::setRequestMethod('JSON');
|
||||
$file_info = $_FILES['Filedata'];
|
||||
$file_info = Context::get('Filedata');
|
||||
|
||||
// An error appears if not a normally uploaded file
|
||||
if(!$file_info || !is_uploaded_file($file_info['tmp_name'])) exit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue