X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=modules%2FApplication%2Fsrc%2FApplication%2FView%2FListener.php;h=f909dcd3ee2e181e03dfe5de68efc3e9c040e947;hb=c5d148536e8e2796926db08ed775c695fad69267;hp=8adf7461b9d3b60d53dc798e7161c5f3ca22a5fa;hpb=4c1704774b146f5827fdf4adcebc7940e9bf07c4;p=zf2.biz%2Fgalerie.git diff --git a/modules/Application/src/Application/View/Listener.php b/modules/Application/src/Application/View/Listener.php index 8adf746..f909dcd 100644 --- a/modules/Application/src/Application/View/Listener.php +++ b/modules/Application/src/Application/View/Listener.php @@ -192,7 +192,9 @@ class Listener implements ListenerAggregate case Application::ERROR_CONTROLLER_NOT_FOUND: case Application::ERROR_CONTROLLER_INVALID: $vars = array( - 'message' => 'Page not found.', + 'message' => 'Page not found.', + 'exception' => $e->getParam('exception'), + 'display_exceptions' => $this->displayExceptions(), ); $response->setStatusCode(404); break;