CoreFiles by mySites.guru
redirect.php19 lines, 572 bytes, from Joomla_2.5.8-Stable-Full_Package.zip
Raw History Compare with 2.5.7
md5
9b0fc25c484ebd4c8364e8967c618732
sha1
67670344efc30b24750eff1f83d2902b8954d0c8
sha256
16f27b30c1079c896ac05d8f72b65226b0542a690ff08fd5c781da796817fac0
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_redirect
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @since		1.6
 */

defined('_JEXEC') or die;

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

$controller	= JControllerLegacy::getInstance('Redirect');
$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.