Your IP : 216.73.216.218


Current Path : /home/antonen/keliauk-uk.lt/administrator/components/com_rsfirewall/controllers/
Upload File :
Current File : //home/antonen/keliauk-uk.lt/administrator/components/com_rsfirewall/controllers/exception.php

<?php
/**
 * @package    RSFirewall!
 * @copyright  (c) 2009 - 2017 RSJoomla!
 * @link       https://www.rsjoomla.com
 * @license    GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html
 */

defined('_JEXEC') or die('Restricted access');

class RsfirewallControllerException extends JControllerForm
{
	public function __construct() {
		parent::__construct();
	}
	
	protected function allowAdd($data = array()) {
		$user = JFactory::getUser();
		return $user->authorise('exceptions.manage', 'com_rsfirewall');
	}

	protected function allowEdit($data = array(), $key = 'id') {
		$user = JFactory::getUser();
		return $user->authorise('exceptions.manage', 'com_rsfirewall');
	}
}