nicer exception handling
[pharext/pharext.org] / app / views / 500.phtml
diff --git a/app/views/500.phtml b/app/views/500.phtml
new file mode 100644 (file)
index 0000000..98692b9
--- /dev/null
@@ -0,0 +1,7 @@
+<?php $this->layout("layout") ?>
+
+<div class="page-header">
+       <h1>Application error <small>500</small></h1>
+</div>
+
+<?= $this->fetch("alert", compact("exception")) ?>