| Current Path : /home/antonen/chenglong.lt/tmp/admin/controllers/ |
| Current File : /home/antonen/chenglong.lt/tmp/admin/controllers/exception.php |
<?php
/**
* @package RSFirewall!
* @copyright (c) 2009 - 2020 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
{
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');
}
}