diff options
author | shadlaws <shad@shadlaws.com> | 2013-03-14 18:15:24 +0100 |
---|---|---|
committer | shadlaws <shad@shadlaws.com> | 2013-03-14 18:15:24 +0100 |
commit | 26e4f044bb861f478719388fc9fb503fa16af2d5 (patch) | |
tree | fdb89f3f45553fe0cd632f514053b1743396a72d /system/helpers/html.php | |
parent | 2340426c090df43f26d052671fe52a8d9d220627 (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 'system/helpers/html.php')
0 files changed, 0 insertions, 0 deletions