CoreFiles by mySites.guru
modules.php23 lines, 704 bytes, from Joomla_1.6.1-Stable-Full_Package.zip
Raw History Compare with 1.6.0
md5
17e243760e6a7acbfd04a8f7fdab8067
sha1
51580795f42bc1167b41ee733336178cfaa153f9
sha256
42257b8194d9c3267c0ccbd83a9aa5137090c57ce8487b59c20222e02796e66d
<?php
/**
 * @version		$Id: modules.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	Modules
 * @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_modules')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

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

$controller	= JController::getInstance('Modules');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 2 releases, Joomla 1.6.0 to 1.6.1. See them all, or every version of this file.