CoreFiles by mySites.guru
menus.php19 lines, 569 bytes, from Joomla_2.5.8-Stable-Full_Package.zip
Raw History Compare with 2.5.7
md5
dece0bee5b2163476754a8990de257b7
sha1
30c578efd7cba41020ddbc34444f41575a0804eb
sha256
de48977f903952dcc50caef2371b313fae5613eb517fc801894c44a5c7856ce3
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_menus
 * @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_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 2 releases, Joomla 2.5.7 to 2.5.8. See them all, or every version of this file.