Various QQ File uploaders updates
This commit is contained in:
@@ -101,9 +101,9 @@ class qqFileUploader
|
||||
$this->uploadFileExt = $ext;
|
||||
|
||||
if ($this->file->save($uploadDirectory . $filename . '.' . $ext)) {
|
||||
return array('success'=>true);
|
||||
return array('success' => true);
|
||||
} else {
|
||||
return array('error'=> 'Could not save uploaded file.' .
|
||||
return array('error' => 'Could not save uploaded file.' .
|
||||
'The upload was cancelled, or server error encountered');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user