aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authorMaZderMind2015-03-27 14:21:34 +0100
committerMaZderMind2015-03-31 08:19:08 +0200
commit1a050c087e8f2889b421992350c50fae75a9252b (patch)
tree16cebecacf7063925c1c6e815ed8c3e2927fc829 /view
parentf98d93cd1559d48e76366950c51e5a6a1f7a84dc (diff)
error handling
Diffstat (limited to 'view')
-rw-r--r--view/500.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/500.php b/view/500.php
new file mode 100644
index 0000000..6519160
--- /dev/null
+++ b/view/500.php
@@ -0,0 +1,10 @@
+<?php
+
+header("HTTP/1.1 500 Internal Server Error");
+echo $tpl->render(array(
+ 'page' => '500',
+ 'title' => '500 Internal Server Error',
+
+ 'e' => $e,
+ 'msg' => $e->getMessage(),
+));