CoreFiles by mySites.guru
search.php23 lines, 703 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
239f57d3a539618c551d6f935ba033e2
sha1
8fdd3bbbfe8da8cfc836daff56b32d2e2601ab1f
sha256
5db4a1b4dd8cca8f979736ef9b470ba5d692ced2d96ab743d7e01999b53e9639
<?php
/**
 * @version		$Id: search.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	com_search
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

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

// Include dependancies
jimport('joomla.application.component.controller');

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

The same content is in 10 releases, Joomla 1.6.0 to 1.7.2. See them all, or every version of this file.