CoreFiles by mySites.guru
search.php18 lines, 551 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
208e4e737f1397eb6e5a72028532f800
sha1
295f5100f0bd49d6d1b948898fef3744e02a1a9e
sha256
f642c898dc3d3437a8f7d93f8a128f2e3e2657f507705ada242670a5a74aec83
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_search
 * @copyright	Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

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

$controller	= JControllerLegacy::getInstance('Search');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();

The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.