/
home
/
assocoweys
/
avexp
/
administrator
/
components
/
com_latestnewsenhancedpro
/
Upload File
HOME
<?php /** * @copyright Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\MVC\Controller\BaseController; // Access check if (!Factory::getUser()->authorise('core.manage', 'com_latestnewsenhancedpro')) { throw new \Exception(Text::_('JERROR_ALERTNOAUTHOR')); } // Include dependancies jimport('joomla.application.component.controller'); \JLoader::registerPrefix('LatestNewsEnhancedPro', JPATH_COMPONENT_ADMINISTRATOR); \JLoader::register('LatestNewsEnhancedProHelper', JPATH_COMPONENT_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'latestnewsenhancedpro.php'); $controller = BaseController::getInstance('LatestNewsEnhancedPro'); $controller->execute(Factory::getApplication()->input->get('task')); $controller->redirect();