CoreFiles by mySites.guru
search.php19 lines, 577 bytes, from Joomla_3.6.3-Stable-Full_Package.zip
Raw History Compare with 3.6.2
md5
b38ad9915d421e799112c45b9cb587cd
sha1
42d178967a69bf2434af2e8590816ea62378e7ca
sha256
92160aa94a7a5387e4ebc8f64af65356e63137dc101cd35b588b379329ce922c
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_search
 *
 * @copyright   Copyright (C) 2005 - 2016 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_search'))
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

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

The same content is in 7 releases, Joomla 3.6.3-rc1 to 3.7.0-alpha1. See them all, or every version of this file.