aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
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