mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing reference errors in php4.
This commit is contained in:
parent
371ac3971a
commit
741f507c23
1 changed files with 2 additions and 2 deletions
|
@ -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 ¤tRoute() {
|
||||||
$self =& Router::getInstance();
|
$self =& Router::getInstance();
|
||||||
return $self->__currentRoute[count($self->__currentRoute) - 1];
|
return $self->__currentRoute[count($self->__currentRoute) - 1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue