File manager - Edit - /home/ferretapmx/public_html/administrator/components/com_guidedtours/src/Dispatcher/Dispatcher.php
Back
<?php /** * @package Joomla.Administrator * @subpackage com_guidedtours * * @copyright (C) 2024 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Guidedtours\Administrator\Dispatcher; use Joomla\CMS\Access\Exception\NotAllowed; use Joomla\CMS\Dispatcher\ComponentDispatcher; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * ComponentDispatcher class for com_guidedtours * * @since 5.2.0 */ class Dispatcher extends ComponentDispatcher { /** * Method to check component access permission * * @return void * * @throws \Exception|NotAllowed */ protected function checkAccess() { $command = $this->input->getCmd('task', 'display'); if ($this->app->isClient('administrator') && $command == 'ajax.fetchUserState') { return; } parent::checkAccess(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings