CoreFiles by mySites.guru
site.php38 lines, 1,032 bytes, from Joomla_1.5.13-Stable-Full_Package.zip
Raw History Compare with 1.5.12
md5
233755dd549be5d6f8470979d5fbfb3b
sha1
693177485e97f368f18b50beaf79514970a60cb2
sha256
2e4ddb5dd44d38d41ba493d9a6fe23ade226fb3a8713b87230391e1437641f1d
<?php
/**
 * @version		$Id: site.php 12389 2009-07-01 00:34:45Z ian $
 * @package  Joomla
 * @subpackage	Search
 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and details.
 */

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );

/**
 * False JSite class used to fool the frontend search plugins because they route the results
 */
class JSite extends JObject
{
	/**
	 * False method to fool the frontend search plugins
	 */
	function getMenu()
	{
		$result = new JSite;
		return $result;
	}

	/**
	 * False method to fool the frontend search plugins
	 */
	function getItems()
	{
		return array();
	}
}

The same content is in 4 releases, Joomla 1.5.12 to 1.5.15. See them all, or every version of this file.