CoreFiles by mySites.guru
menus.php24 lines, 722 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
28c3ee6ddf5fc52e0eb8c2c31d7f2e83
sha1
e5d17c5e3bde2e1bc1ac7aae007e84155b7ae591
sha256
6ac0558f6b829e7a648cf0a38dd3d194b0c3a526969b63c401c62732744da255
<?php
/**
 * @version		$Id: menus.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	com_menus
 * @copyright	Copyright (C) 2005 - 2011 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 13 releases, Joomla 1.6.0 to 1.7.5. See them all, or every version of this file.