CoreFiles by mySites.guru
menus.php23 lines, 661 bytes, from Joomla_2.5.4-Stable-Full_Package.zip
Raw History Compare with 2.5.3
md5
68a5127d8d0f862bba198c92ea4561bb
sha1
229d08a4e73880b2f85d2f4733437069e6b086ed
sha256
e6c3de77d2c5f88706c39f6253ee616e9f3a4a8b5af58c4acd10ed1630997df0
<?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
 */

// No direct access.
defined('_JEXEC') or die;

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

// Include dependancies
jimport('joomla.application.component.controller');

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

The same content is in 7 releases, Joomla 2.5.0 to 2.5.6. See them all, or every version of this file.