From 9f108dd1a969473375341d92a7b1252fa2cedc9a Mon Sep 17 00:00:00 2001 From: mszulecki Date: Thu, 14 Jun 2007 17:09:01 +0000 Subject: Initial import. git-svn-id: http://svn.sukimashita.com/repos/mailadmin/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- apps/admin/modules/content/actions/actions.class.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/admin/modules/content/actions/actions.class.php (limited to 'apps/admin/modules/content/actions') 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'); + } +} -- cgit v1.1-32-gdbae