Improve file upload

This commit is contained in:
Frédéric Guillot
2014-05-25 15:15:59 -04:00
parent f9753e91d2
commit 60a45dbb68
8 changed files with 21 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ class File extends Base
if (@move_uploaded_file($uploaded_filename, self::BASE_PATH.$destination_filename)) {
$this->create(
return $this->create(
$task_id,
$original_filename,
$destination_filename,