raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=3c1136577cf33497ffa4adcf3eed0fccc9b2c7da

commit 3c1136577cf33497ffa4adcf3eed0fccc9b2c7da
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Sep 22 19:09:54 2015 +0900

    e www - shot - upgrade max shot size to 20m
---
 public_html/shot.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public_html/shot.php b/public_html/shot.php
index 0ef7d64..a963605 100644
--- a/public_html/shot.php
+++ b/public_html/shot.php
@@ -48,8 +48,8 @@ function dothumb($f, $thumb, $new_w, $new_h) {
 }
 
 ob_start();
-############ limit - 6 mb.
-$data = file_get_contents('php://input', NULL, NULL, 0, 6 * 1024 * 1024);
+############ limit - 20 mb.
+$data = file_get_contents('php://input', NULL, NULL, 0, 20 * 1024 * 1024);
 ############ magic jpeg signature
 $jpeg_match = "\xff\xd8\xff\xe0";
 $jpeg_magic = substr($data, 0, 4);

-- 


Reply via email to