Handle 404s with the correct error page, and don't log them

This commit is contained in:
Albert Santoni 2015-06-16 14:58:27 -04:00
parent 90bd0a1ab4
commit 61272cd42c
2 changed files with 5 additions and 6 deletions

View file

@ -8,7 +8,7 @@
</head>
<body>
<div class="error-content">
<h2><?php echo _("Page not found!")?></h2>
<h2><?php echo $this->escape($this->message)?></h2>
<p><?php echo _("Looks like the page you were looking for doesn't exist!")?></p>
<div class="button-bar">
<a class="toggle-button" href="<?php echo $this->baseUrl('dashboard/help'); ?>"><?php echo _("Help") ?></a>