aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-04-04 16:00:02 +0000
committerCash Costello <cash.costello@gmail.com>2009-04-04 16:00:02 +0000
commitce8c41d96241e48c156b5df57f4046b04c07955b (patch)
tree34b109988082a93e4d5e11d70072f4ed6ea0c42b /actions
parent32162183d59d995b35d7cb1f53d321a3b1051b04 (diff)
downloadelgg-ce8c41d96241e48c156b5df57f4046b04c07955b.tar.gz
elgg-ce8c41d96241e48c156b5df57f4046b04c07955b.tar.bz2
continued progress on tagging
Diffstat (limited to 'actions')
-rw-r--r--actions/addtag.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/actions/addtag.php b/actions/addtag.php
new file mode 100644
index 000000000..34d286061
--- /dev/null
+++ b/actions/addtag.php
@@ -0,0 +1,12 @@
+<?php
+ /**
+ * Tidypics Add Tag
+ *
+ */
+
+ // Make sure we're logged in (send us to the front page if not)
+ if (!isloggedin()) forward();
+
+ forward($_SERVER['HTTP_REFERER']);
+
+?> \ No newline at end of file