Current File : /home/pacjaorg/.trash/components/com_admintools/admintools.php |
<?php
/**
* @package admintools
* @copyright Copyright (c)2010-2020 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
defined('_JEXEC') or die();
JDEBUG ? define('AKEEBADEBUG', 1) : null;
define('AKEEBA_COMMON_WRONGPHP', 1);
$minPHPVersion = '7.1.0';
$recommendedPHPVersion = '7.3';
$softwareName = 'Admin Tools';
$silentResults = true;
if (!require_once(JPATH_COMPONENT_ADMINISTRATOR . '/View/wrongphp.php'))
{
// Minimum PHP requirement not met; pretend this component does not exist
throw new RuntimeException(\Joomla\CMS\Language\Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
}
if (version_compare(PHP_VERSION, '7.1.0', 'lt'))
{
// Minimum PHP requirement not met; pretend this component does not exist
throw new RuntimeException(\Joomla\CMS\Language\Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
}
if (!defined('FOF30_INCLUDED') && !@include_once(JPATH_LIBRARIES . '/fof30/include.php'))
{
throw new RuntimeException('FOF 3.0 is not installed', 500);
}
FOF30\Container\Container::getInstance('com_admintools')->dispatcher->dispatch();