CoreFiles by mySites.guru
search.php22 lines, 642 bytes, from Joomla_2.5.4-Stable-Full_Package.zip
Raw History Compare with 2.5.3
md5
abfc9c5d1a60a3a40e34c6f0abbfb62b
sha1
c1e7f4f62ddb734c5ac01545f729ef6ffc750038
sha256
cd58ff045ae109d5f8ce0f8aacd1c360c6685da39a502300248fd87abd302de3
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_search
 * @copyright	Copyright (C) 2005 - 2012 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 7 releases, Joomla 2.5.0 to 2.5.6. See them all, or every version of this file.