From: Evan Coury Date: Thu, 17 Nov 2011 22:48:22 +0000 (-0700) Subject: Updated ZF2 submodule to latest master, show exceptions on 404 error X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;ds=sidebyside;h=c5d148536e8e2796926db08ed775c695fad69267;p=zf2.biz%2Fgalerie.git Updated ZF2 submodule to latest master, show exceptions on 404 error --- diff --git a/library/ZendFramework b/library/ZendFramework index dd8426f..e66618e 160000 --- a/library/ZendFramework +++ b/library/ZendFramework @@ -1 +1 @@ -Subproject commit dd8426fc451be263b747b151810780a5f1f21c60 +Subproject commit e66618e7c12867fde9875b8f3d92f230bd1b2727 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;