CC-2308: 404 page

- done
This commit is contained in:
James 2011-09-22 13:40:16 -04:00
parent 43ba92a535
commit 6d23ea4b49
2 changed files with 7 additions and 19 deletions

View file

@ -6,24 +6,12 @@
<title>Zend Framework Default Application</title> <title>Zend Framework Default Application</title>
</head> </head>
<body> <body>
<h1>An error occurred</h1> <div class="error-content">
<h2><?php echo $this->message ?></h2> <h2>Page not found!</h2>
<p>Looks like the page you were looking for doesn't exist!</p>
<?php if ('development' == APPLICATION_ENV): ?> <div class="button-bar">
<a class="toggle-button" href="dashboard/help">Help</a>
<h3>Exception information:</h3> </div>
<p> </div>
<b>Message:</b> <?php echo $this->exception->getMessage() ?>
</p>
<h3>Stack trace:</h3>
<pre><?php echo $this->exception->getTraceAsString() ?>
</pre>
<h3>Request Parameters:</h3>
<pre><?php echo var_export($this->request->getParams(), 1) ?>
</pre>
<?php endif ?>
</body> </body>
</html> </html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB