diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-04-04 16:00:02 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-04-04 16:00:02 +0000 |
commit | ce8c41d96241e48c156b5df57f4046b04c07955b (patch) | |
tree | 34b109988082a93e4d5e11d70072f4ed6ea0c42b /actions | |
parent | 32162183d59d995b35d7cb1f53d321a3b1051b04 (diff) | |
download | elgg-ce8c41d96241e48c156b5df57f4046b04c07955b.tar.gz elgg-ce8c41d96241e48c156b5df57f4046b04c07955b.tar.bz2 |
continued progress on tagging
Diffstat (limited to 'actions')
-rw-r--r-- | actions/addtag.php | 12 |
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 |