uawdijnntqw1x1x1
IP : 216.73.217.142
Hostname : localhost.localdomain
Kernel : Linux localhost.localdomain 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
consult-e-syn
/
public_html
/
643de
/
..
/
plugins
/
system
/
admintools
/
feature
/
tmplswitch.php
/
/
<?php /** * @package admintools * @copyright Copyright (c)2010-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ use Joomla\CMS\Factory; defined('_JEXEC') || die; class AtsystemFeatureTmplswitch extends AtsystemFeatureAbstract { protected $loadOrder = 310; /** * Is this feature enabled? * * @return bool */ public function isEnabled() { if (!$this->container->platform->isFrontend()) { return false; } if ($this->skipFiltering) { return false; } return ($this->cparams->getValue('tmpl', 1) == 1); } /** * Disable template switching in the URL */ public function onAfterInitialise() { $tmpl = Factory::getApplication()->input->getCmd('tmpl', null); if (empty($tmpl)) { return; } $whitelist = $this->cparams->getValue('tmplwhitelist', 'component,system'); if (empty($whitelist)) { $whitelist = 'component,system'; } $temp = explode(',', $whitelist); $whitelist = []; foreach ($temp as $item) { $whitelist[] = trim($item); } $whitelist = array_merge(['component', 'system'], $whitelist); if (!is_null($tmpl) && !in_array($tmpl, $whitelist)) { $this->exceptionsHandler->blockRequest('tmpl'); } } }
/var/www/consult-e-syn/public_html/643de/../plugins/system/admintools/feature/tmplswitch.php