From 0f500ac0e628a6ff687efe494025e2ae9dfe6d70 Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 15 Jan 2019 22:24:49 +0800 Subject: [PATCH] set upload limit on sync handler --- src/php/sync.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/php/sync.php b/src/php/sync.php index 34f9815..61c5809 100644 --- a/src/php/sync.php +++ b/src/php/sync.php @@ -1,7 +1,12 @@ max_upload_size); + ini_set('upload_max_filesize', Config::$Instance->max_upload_size); + ini_set('memory_limit', Config::$Instance->max_upload_size); ini_set('enable_post_data_reading', 0); }