Throw 403/412 when using ajax as appropriate

Added error pages
This commit is contained in:
Deon George
2013-05-15 17:06:23 +10:00
parent 783964ee59
commit 25d9fbf846
5 changed files with 25 additions and 13 deletions

6
views/errors/501.php Normal file
View File

@@ -0,0 +1,6 @@
<h1>Oops!</h1>
<h2>501 Bother, something went wrong.</h2>
<?php echo $message; ?>
<div class="error-details">
If this keeps happening, please let us know.
</div>