CoreFiles by mySites.guru
router.php37 lines, 586 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
0e96a67052cd4bf169572bd27ebbdcf2
sha1
81d8d5d18371c295d7db4ed330fd505bb79cac2f
sha256
c135a4389442992eb0c6c26a6f8d9420ed819c1afe08977158994ee2a78ce0e5
<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_wrapper
 * @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;

/**
 * @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 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.