@@ 382-389 (lines=8) @@ | ||
379 | $action = $request->getAction(); |
|
380 | } |
|
381 | else { |
|
382 | if (! isset($this->controllers[$applicationName][$controller])) { |
|
383 | $this->getLogger()->error("[{remote}] No such controller {controller}", array( |
|
384 | 'remote' => $request->getRemoteHost(), |
|
385 | 'controller' => $controller |
|
386 | )); |
|
387 | $controller = 'Error'; |
|
388 | $action = 'error'; |
|
389 | } |
|
390 | ||
391 | $controllerInstance = $this->controllers[$applicationName][$controller]; |
|
392 | assert($controllerInstance instanceof AbstractController); |
|
@@ 393-400 (lines=8) @@ | ||
390 | ||
391 | $controllerInstance = $this->controllers[$applicationName][$controller]; |
|
392 | assert($controllerInstance instanceof AbstractController); |
|
393 | if (! $controllerInstance->hasAction($action)) { |
|
394 | $this->getLogger()->error("[{remote}] No such action {action}", array( |
|
395 | 'remote' => $request->getRemoteHost(), |
|
396 | 'action' => $action |
|
397 | )); |
|
398 | $controllerInstance = $this->controllers[$applicationName]['Error']; |
|
399 | $action = 'error'; |
|
400 | } |
|
401 | ||
402 | $this->getLogger()->debug("[{remote}] Routing request to {controller}:{action}", array( |
|
403 | 'remote' => $request->getRemoteHost(), |