diff options
-rw-r--r-- | mod/file/actions/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/actions/upload.php b/mod/file/actions/upload.php index 1f5107bf0..410fecc95 100644 --- a/mod/file/actions/upload.php +++ b/mod/file/actions/upload.php @@ -22,7 +22,7 @@ if ($result) { - $file->setFilename($_FILES['upload']['name']); + $file->setFilename($prefix.$_FILES['upload']['name']); $file->setMimeType($_FILES['upload']['type']); $file->open("write"); |