CoreFiles by mySites.guru
modules.php18 lines, 554 bytes, from Joomla_2.5.8-Stable-Full_Package.zip
Raw History Compare with 2.5.7
md5
0af4d8041f6395d657efa284b09eae56
sha1
9e1d0967128a4fc75797dad2e4d4ae890b988887
sha256
d421f791d36843ac6830b0c4bba5d83ef5ce0bf96dbdf4e074400183fd3566e7
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_modules
 * @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;

// 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 2 releases, Joomla 2.5.7 to 2.5.8. See them all, or every version of this file.