From 92b55f2636a82c5eafc24d1e2adc84b61258161e Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 25 Jul 2015 05:03:19 -0700 Subject: some styling for photo uploads --- lib/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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.'); } -- cgit v1.2.3