summaryrefslogtreecommitdiff
path: root/lib/helpers.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-07-25 05:03:19 -0700
committerAaron Parecki <aaron@parecki.com>2015-07-25 05:03:19 -0700
commit92b55f2636a82c5eafc24d1e2adc84b61258161e (patch)
tree0b20ede3df6163224089b7c6aa1b2c7de3d86b57 /lib/helpers.php
parent35bd5a9e68b50bf57963ea626a3fbf7432b37c93 (diff)
some styling for photo uploads
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.');
}