/administrator/components/com_plugins/plugins.php
https://bitbucket.org/eternaware/joomus · PHP · 19 lines · 9 code · 3 blank · 7 comment · 1 complexity · 8a1e07ea50bd12c77941220e645be495 MD5 · raw file
- <?php
- /**
- * @package Joomla.Administrator
- * @subpackage com_plugins
- *
- * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE.txt
- */
- defined('_JEXEC') or die;
- if (!JFactory::getUser()->authorise('core.manage', 'com_plugins'))
- {
- return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
- }
- $controller = JControllerLegacy::getInstance('Plugins');
- $controller->execute(JFactory::getApplication()->input->get('task'));
- $controller->redirect();