CoreFiles by mySites.guru
router.php38 lines, 598 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
78dece004d1e61f7bb0d041b36e67d86
sha1
ad59a86679563b10d55ea5eab7c36a7dd91602a6
sha256
86c1aada2b42625e288c4c31c5beea6de7016dbcf78cfb1c1f104dd2f15c5e93
<?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 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.