summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/api/v1/file.php1
1 files changed, 1 insertions, 0 deletions
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")),
));
}