Development

- Added support for cloudflare when using getIp method in Request.
- Fixed undefined variable notice in RouterBase class.
This commit is contained in:
Simon Sessingø
2016-11-05 23:07:14 +01:00
parent 832aff0358
commit 035a5b1629
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -113,6 +113,8 @@ class RouterBase {
$originalUri = $this->request->getUri();
$routeNotAllowed = false;
try {
// Initialize boot-managers
@@ -137,8 +139,6 @@ class RouterBase {
}
}
$routeNotAllowed = false;
$max = count($this->controllerUrlMap);
/* @var $route RouterEntry */