CoreFiles by mySites.guru
search.php19 lines, 577 bytes, from Joomla_3.8.13-Stable-Full_Package.zip
Raw History Compare with 3.8.12
md5
910c9ff8b8ce301b9ac4b29251098f12
sha1
3063c84dec8cba2a1fb6b0ce7a2f201aaf6eb83a
sha256
032a6f57e1a6475add6bf72006d4ae2849af28abc89ea6de74646f938116e783
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_search
 *
 * @copyright   Copyright (C) 2005 - 2018 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 29 releases, Joomla 3.8.4-rc to 3.9.1. See them all, or every version of this file.