CoreFiles by mySites.guru
redirect.php19 lines, 583 bytes, from Joomla_3.9.2-Stable-Full_Package.zip
Raw History Compare with 3.9.1
md5
bcb6f1ada4a0549ccbc99a5784a7837a
sha1
0cc585bc4e654ccfbae15b16da1260b139d6fdca
sha256
d68b0e39f148f60c4e040b068b74c6d3b9c21d6598b07927528c8511f4cfedf2
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_redirect
 *
 * @copyright   Copyright (C) 2005 - 2019 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'))
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

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

The same content is in 26 releases, Joomla 3.9.2-rc to 3.9.14. See them all, or every version of this file.