summaryrefslogtreecommitdiffstats
path: root/apps/admin/modules/content
diff options
context:
space:
mode:
Diffstat (limited to 'apps/admin/modules/content')
-rw-r--r--apps/admin/modules/content/actions/actions.class.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/admin/modules/content/actions/actions.class.php b/apps/admin/modules/content/actions/actions.class.php
new file mode 100644
index 0000000..bbc9d08
--- /dev/null
+++ b/apps/admin/modules/content/actions/actions.class.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * content actions.
+ *
+ * @package mailadmin
+ * @subpackage content
+ * @author Your name here
+ * @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
+ */
+class contentActions extends sfActions
+{
+ public function executeSecure()
+ {
+ LogEntryPeer::log("Attempt to access a secured action without proper credentials.", LogEntry::PRIO_WARNING);
+ $this->redirect($this->getRequest()->getReferer(), '@homepage');
+ }
+}