aboutsummaryrefslogtreecommitdiff
path: root/actions/addalbum.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-10-25 00:22:20 +0000
committerCash Costello <cash.costello@gmail.com>2010-10-25 00:22:20 +0000
commit893364a28955358ad259bfb75798560616ab3d49 (patch)
tree8b2ac2fb618596fed82b12c221eb7c485cbb9590 /actions/addalbum.php
parentda1493b95a2f0b5000a487ae373c9318c58d0b2d (diff)
downloadelgg-893364a28955358ad259bfb75798560616ab3d49.tar.gz
elgg-893364a28955358ad259bfb75798560616ab3d49.tar.bz2
supporting both basic and flash uploader
Diffstat (limited to 'actions/addalbum.php')
-rw-r--r--actions/addalbum.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/addalbum.php b/actions/addalbum.php
index bdac9bfbf..8ddcca131 100644
--- a/actions/addalbum.php
+++ b/actions/addalbum.php
@@ -42,6 +42,8 @@ if (!$album->save()) {
forward(get_input('forward_url', $_SERVER['HTTP_REFERER']));
}
+mkdir(tp_get_img_dir() . $album->guid, 0755, true);
+
system_message(elgg_echo("album:created"));
// Remove the album post cache