CoreFiles by mySites.guru
redirect.php24 lines, 728 bytes, from Joomla_1.7.3-Stable-Full_Package.zip
Raw History Compare with 1.7.2
md5
f958e10d231182f3c2ff64f5f9c0207d
sha1
cab5ac14663857613ec347306f38a57dcf0e6264
sha256
b031a6301fd6ca653b14af1ebfbad3fbeab71bcbb37ce96355fc328c43beaa4a
<?php
/**
 * @version		$Id: redirect.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	com_redirect
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @since		1.6
 */

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

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

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

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