summaryrefslogtreecommitdiff
path: root/lib/helpers.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helpers.php')
-rw-r--r--lib/helpers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.php b/lib/helpers.php
index eb8994c..a4dc22e 100644
--- a/lib/helpers.php
+++ b/lib/helpers.php
@@ -261,7 +261,7 @@ function validate_photo(&$file) {
}
// You should also check filesize here.
- if ($file['size'] > 1000000) {
+ if ($file['size'] > 4000000) {
throw new RuntimeException('Exceeded filesize limit.');
}