Fixing reference errors in php4.

This commit is contained in:
Mark Story 2010-01-14 23:38:39 -05:00
parent 371ac3971a
commit 741f507c23

View file

@ -1041,7 +1041,7 @@ class Router {
* @access public * @access public
* @static * @static
*/ */
function requestRoute() { function &requestRoute() {
$self =& Router::getInstance(); $self =& Router::getInstance();
return $self->__currentRoute[0]; return $self->__currentRoute[0];
} }
@ -1053,7 +1053,7 @@ class Router {
* @access public * @access public
* @static * @static
*/ */
function currentRoute() { function &currentRoute() {
$self =& Router::getInstance(); $self =& Router::getInstance();
return $self->__currentRoute[count($self->__currentRoute) - 1]; return $self->__currentRoute[count($self->__currentRoute) - 1];
} }