diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-13 22:50:23 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-13 22:50:23 -0400 |
commit | 01730a85bced88f32d88efac995ea12294934a63 (patch) | |
tree | 62b71d96d02fce3a75393da08219714fdad4789d /actions/photos/image/upload.php | |
parent | 919ae814fa2b651072b5bbb901e2183220a0dd30 (diff) | |
parent | 5cc8de829c0a7b86c8df27293f4825d0e340d592 (diff) | |
download | elgg-01730a85bced88f32d88efac995ea12294934a63.tar.gz elgg-01730a85bced88f32d88efac995ea12294934a63.tar.bz2 |
flash uploader working
Diffstat (limited to 'actions/photos/image/upload.php')
-rw-r--r-- | actions/photos/image/upload.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/photos/image/upload.php b/actions/photos/image/upload.php index 29df59b63..b917a1598 100644 --- a/actions/photos/image/upload.php +++ b/actions/photos/image/upload.php @@ -50,6 +50,8 @@ foreach ($_FILES['images']['name'] as $index => $value) { continue; } + $mime = tp_upload_get_mimetype($data['name']); + $image = new TidypicsImage(); $image->container_guid = $album->getGUID(); $image->setMimeType($mime); |