From: Matthew Weier O'Phinney Date: Wed, 3 Oct 2012 20:51:19 +0000 (-0500) Subject: Merge branch 'hotfix/recursive404' of https://github.com/rufinus/ZendSkeletonApplicat... X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=b620dfad6db3f338c4bdaf4d46f4cf71f8b2d9d1;hp=32b1b75990d37064f44cdfbf299bd35574a7eeb0;p=zf2.biz%2Fgalerie.git Merge branch 'hotfix/recursive404' of https://github.com/rufinus/ZendSkeletonApplication into hotfix/131 --- diff --git a/module/Application/view/error/404.phtml b/module/Application/view/error/404.phtml index 3edd37a..323733d 100644 --- a/module/Application/view/error/404.phtml +++ b/module/Application/view/error/404.phtml @@ -46,16 +46,62 @@ if (isset($this->controller_class) -exception) && $this->exception): ?> +display_exceptions) && $this->display_exceptions): ?> -

translate('Exception') ?>:

+exception) && $this->exception instanceof Exception): ?> +
+

translate('Additional information') ?>:

+

exception); ?>

+
+
translate('File') ?>:
+
+
exception->getFile() ?>:exception->getLine() ?>
+
+
translate('Message') ?>:
+
+
exception->getMessage() ?>
+
+
translate('Stack trace') ?>:
+
+
exception->getTraceAsString() ?>
+
+
+exception->getPrevious(); + if ($e) : +?> +
+

translate('Previous exceptions') ?>:

+ + -

escapeHtml($this->exception->getMessage()) ?>

+ -

translate('Stack trace') ?>:

+

translate('No Exception available') ?>

-
-exception->getTraceAsString() ?>
-
+