diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-01-11 01:39:40 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-01-16 17:38:38 +0100 |
commit | 32e68c2dfff62cbdd82950b4b4e20a3c895dfb1f (patch) | |
tree | 879d6674cca47560479bf34e1415888a1e1a848b /application/controllers/api/v1 | |
parent | 434143c2b01c203bf9030669a14055872121b2c0 (diff) |
add max_files_per_request to api/file/get_config
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/api/v1')
-rw-r--r-- | application/controllers/api/v1/file.php | 1 |
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")), )); } |