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