aboutsummaryrefslogtreecommitdiff
path: root/actions/upload.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-01 11:37:42 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-01 11:37:42 +0000
commita07057fc6d3f68c20f8f15c3573e74d2514ba8b6 (patch)
tree7b5e0fed099bb39892b3ef0a10933e97925a6e20 /actions/upload.php
parent8a74a87356b54f907c341b8d6b3bcbe6b1e2ba18 (diff)
downloadelgg-a07057fc6d3f68c20f8f15c3573e74d2514ba8b6.tar.gz
elgg-a07057fc6d3f68c20f8f15c3573e74d2514ba8b6.tar.bz2
made sure all the actions are using the appropriate gatekeeper
Diffstat (limited to 'actions/upload.php')
-rw-r--r--actions/upload.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/upload.php b/actions/upload.php
index 70480a498..f330cf782 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -9,6 +9,9 @@
include dirname(dirname(__FILE__)) . "/lib/resize.php";
include dirname(dirname(__FILE__)) . "/lib/exif.php";
+ // Make sure we're logged in
+ gatekeeper();
+
// Get common variables
$access_id = (int) get_input("access_id");
$container_guid = (int) get_input('container_guid', 0);