CoreFiles by mySites.guru
router.php37 lines, 586 bytes, from Joomla_2.5.2-Stable-Full_Package.zip
Raw History Compare with 2.5.1
md5
0c051f7689774bd6a014c22298056c9a
sha1
adf28a7c42af13a9304a2ddd9f555284c0b179e6
sha256
a8fa90825ec412c6dfe0f76dcc3a88209f6d2397d9b4b10e71960a83972c0b09
<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_wrapper
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * @param	array
 * @return	array
 */
function WrapperBuildRoute(&$query)
{
	$segments = array();

	if (isset($query['view'])) {
		unset($query['view']);
	}

	return $segments;
}

/**
 * @param	array
 * @return	array
 */
function WrapperParseRoute($segments)
{
	$vars = array();

	$vars['view'] = 'wrapper';

	return $vars;
}

The same content is in 9 releases, Joomla 2.5.0 to 2.5.8. See them all, or every version of this file.