Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_guidedtours/src/Dispatcher/Dispatcher.php
Ðазад
<?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.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка