diff options
Diffstat (limited to 'application/controllers/api/v1/file.php')
-rw-r--r-- | application/controllers/api/v1/file.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/controllers/api/v1/file.php b/application/controllers/api/v1/file.php index ccc83f404..4ffc8ed48 100644 --- a/application/controllers/api/v1/file.php +++ b/application/controllers/api/v1/file.php @@ -47,10 +47,11 @@ class file extends \controllers\api\api_controller { public function get_config() { - // TODO: return more fields? return array( "upload_max_size" => $this->config->item("upload_max_size"), "max_files_per_request" => intval(ini_get("max_file_uploads")), + "max_input_vars" => intval(ini_get("max_input_vars")), + "request_max_size" => return_bytes(ini_get("post_max_size")), ); } |