Skip to content

Commit 13643a2

Browse files
committed
Up the max filesize to 100MB
1 parent 23fcf91 commit 13643a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public_html/modules/upload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
$file = $_FILES["file"];
2929

30-
if($file["size"] > (50 * 1024 * 1024) || $file["error"] !== 0)
30+
if($file["size"] > (100 * 1024 * 1024) || $file["error"] !== 0)
3131
{
3232
die("error/{$file['error']}"); /* Intentionally short-circuit. */
3333
}

public_html/templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="upload">
44
<button class="pure-button button-browse" id="upload_activator" type="button">Click to upload</button>
55
<span class="dragdrop-instructions">
6-
... or <strong>drag and drop</strong> a PDF file here, to upload it (max. 50 MB).
6+
... or <strong>drag and drop</strong> a PDF file here, to upload it (max. 100 MB).
77
</span>
88
<input type="hidden" name="MAX_FILE_SIZE" value="52428800">
99
<input type="file" name="file" id="upload_element" accept="application/pdf">

0 commit comments

Comments
 (0)