router.diff

Patch File - David Dixon, 04/22/2009 11:20 am

Download (580 Bytes)

 
Router.php (working copy)
71 71

  
72 72
		// At this point segments, rsegments, and current URI are all the same
73 73
		self::$segments = self::$rsegments = self::$current_uri = trim(self::$current_uri, '/');
74
		
75
		// Re-instate current_uri for the default route
76
		if (Router::$current_uri === Router::$routes['_default']) {
77
			Router::$current_uri = '';
78
		}
74 79

  
75 80
		// Set the complete URI
76 81
		self::$complete_uri = self::$current_uri.self::$query_string;