From 893364a28955358ad259bfb75798560616ab3d49 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Mon, 25 Oct 2010 00:22:20 +0000 Subject: supporting both basic and flash uploader --- actions/addalbum.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actions/addalbum.php') 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 -- cgit v1.2.3