CoreFiles by mySites.guru
redirect.php19 lines, 574 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
20bc68888ce0e10e502b2249f31e6bd7
sha1
ad866493de07fcf32a8b1f6cdf81e926134636c9
sha256
967eb3a0510a811a3ab33ea765066d7355dc32d231d8d6b24d16a512a1a4fc21
<?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
 */

defined('_JEXEC') or die;

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

$controller	= JControllerLegacy::getInstance('Redirect');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.