protected function _validateFormKey() { if ($this->getRequest()->getActionName() == 'upload') { return true; } else { return parent::_validateFormKey(); } }
public function preDispatch() { Mage::getSingleton('core/session', array('name' => 'adminhtml')); if (!Mage::getSingleton('admin/session')->isLoggedIn()) { $this->_notifyAboutExpiry(); } return parent::preDispatch(); }