Skip to content

Commit 76a9071

Browse files
committed
Fix size limit
1 parent 3b23b9f commit 76a9071

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ curl --location 'https://yourdomain.com/api/upload' \
221221
- [ ] S3 Bucket integration (PhpFileUploading supports it, but not implemented yet in Uploady)
222222
- [ ] File tagging system (In Progress)
223223
- [ ] Short URL generation (In Progress)
224+
- [ ] File preview (PDF, video, audio players)
225+
- [ ] File comments/notes
226+
- [ ] Email file sharing
224227

225228
## Contributing
226229

uploady/actions/update_file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040

4141
$userRole = $role->get($_SESSION['user_role']);
42-
$sizeLimit = $userRole->size_limit ?? '50 MB';
42+
$sizeLimit = $userRole->size_limit ?? '1 GB';
4343

4444
$userUploadDir = realpath("../" . UPLOAD_FOLDER) . '/' . $_SESSION['user_id'];
4545
if (!is_dir($userUploadDir)) {

uploady/actions/upload_file.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
$fileId = UploadManager::createFileId();
4040

4141
$userRole = $role->get($_SESSION['user_role']);
42-
$sizeLimit = $userRole->size_limit ?? '50 MB';
42+
$sizeLimit = $userRole->size_limit ?? '1 GB';
4343

4444
$userUploadDir = realpath("../" . UPLOAD_FOLDER) . '/' . $userId;
4545
if (!is_dir($userUploadDir)) {

0 commit comments

Comments
 (0)