diff options
Diffstat (limited to 'modules/rest/controllers')
-rw-r--r-- | modules/rest/controllers/rest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/rest/controllers/rest.php b/modules/rest/controllers/rest.php index 7a5ab46a..4d476a0d 100644 --- a/modules/rest/controllers/rest.php +++ b/modules/rest/controllers/rest.php @@ -76,6 +76,9 @@ class Rest_Controller extends Controller { foreach (array_keys($this->input->post()) as $key) { $request->$key = $this->input->post($key); } + foreach (array_keys($_FILES) as $key) { + $request->$key = $_FILES[$key]; + } } $request->method = strtolower($this->input->server("HTTP_X_GALLERY_REQUEST_METHOD", $method)); |