CoreFiles by mySites.guru
menus.php19 lines, 569 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
eacec6f907036352f4b1aaa1a1481780
sha1
065f4f7bd2e219e48264a5b4d5f975c4e4e260db
sha256
4b7df918b3b7419e68da50b1c7dd9ac177eddf2841bd6d2b8b39dbf57f6db5fb
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_menus
 * @copyright	Copyright (C) 2005 - 2014 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_menus')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

// Execute the task.
$controller	= JControllerLegacy::getInstance('Menus');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.