CoreFiles by mySites.guru
router.php38 lines, 655 bytes, from Joomla_1.7.4-Stable-Full_Package.zip
Raw History Compare with 1.7.3
md5
6dab79cb3dd39eb5012004769746d068
sha1
8b076ff3f40ca963f3296cf9075ef1366528c722
sha256
c3f69ea8e8c036ee41bab34a260030aa1a74571cf5ef0ef1e754eb1df047dcfd
<?php
/**
 * @version		$Id: router.php 22338 2011-11-04 17:24:53Z github_bot $
 * @package		Joomla.Site
 * @subpackage	com_wrapper
 * @copyright	Copyright (C) 2005 - 2011 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 1.7.3 to 1.7.5. See them all, or every version of this file.