CoreFiles by mySites.guru
modules.php18 lines, 554 bytes, from Joomla_2.5.9-Stable-Full_Package.zip
Raw History Compare with 2.5.8
md5
a90cdb6bd45e852072fd3c1416b150b6
sha1
494f29dc1f1b5e2880c48b85f7888203f877f570
sha256
210c84253897931915ae3498cd57aa44dc0259c5312b70bb112ff21a9c2f8ac1
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_modules
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Access check.
if (!JFactory::getUser()->authorise('core.manage', 'com_modules')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

$controller	= JControllerLegacy::getInstance('Modules');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.