summaryrefslogtreecommitdiff
path: root/modules/rest/controllers/rest.php
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-03-14 18:15:24 +0100
committershadlaws <shad@shadlaws.com>2013-03-14 18:15:24 +0100
commit26e4f044bb861f478719388fc9fb503fa16af2d5 (patch)
treefdb89f3f45553fe0cd632f514053b1743396a72d /modules/rest/controllers/rest.php
parent2340426c090df43f26d052671fe52a8d9d220627 (diff)
#2058 - Separate uploader logic into Kohana-, Item-Model-, and Uploadify-specific functions.
- Added _process_upload() to handle upload file validation with Kohana. - Added _add_item() to handle item creation and validation with the item model (and logs). - Removed these pieces from add_photo(), which is now rather Uploadify-specific. - Used $_FILES to get filename instead of assuming it's substr(basename($tmp_name), 10). - No net functional changes - works just like before.
Diffstat (limited to 'modules/rest/controllers/rest.php')
0 files changed, 0 insertions, 0 deletions