From 32e68c2dfff62cbdd82950b4b4e20a3c895dfb1f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 11 Jan 2015 01:39:40 +0100 Subject: add max_files_per_request to api/file/get_config Signed-off-by: Florian Pritz --- application/controllers/api/v1/file.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application/controllers/api/v1') diff --git a/application/controllers/api/v1/file.php b/application/controllers/api/v1/file.php index 869d29ed1..515286462 100644 --- a/application/controllers/api/v1/file.php +++ b/application/controllers/api/v1/file.php @@ -52,6 +52,7 @@ class file extends \controllers\api\api_controller { { return send_json_reply(array( "upload_max_size" => $this->config->item("upload_max_size"), + "max_files_per_request" => intval(ini_get("max_file_uploads")), )); } -- cgit v1.2.3-24-g4f1b