File Manager

Current Directory: /home/astoriaah/www/old15/administrator/components/com_admintools/tables
Viewing File: /home/astoriaah/www/old15/administrator/components/com_admintools/tables/wafexception.php
<?php /** * @package AdminTools * @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later */ // Protect from unauthorized access defined('_JEXEC') or die; class AdmintoolsTableWafexception extends F0FTable { public function __construct($table, $key, &$db) { parent::__construct('#__admintools_wafexceptions', 'id', $db); } public function check() { if (!$this->option && !$this->view && !$this->query) { $this->setError(JText::_('ATOOLS_ERR_WAFEXCEPTIONS_ALLNULL')); return false; } return true; } }