Various QQ File uploaders updates

This commit is contained in:
Clemens Schwaighofer
2018-07-26 14:58:44 +09:00
parent 71ab3e27bd
commit 03ff1862c1
6 changed files with 207 additions and 92 deletions

View File

@@ -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');
}
}