aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/error.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-05 21:54:09 -0500
committercash <cash.costello@gmail.com>2011-12-05 21:54:09 -0500
commitc2cddede38dbb29d53167e296981a678759e0648 (patch)
tree7d48ff3779f502d93ab09e7ba074a179c6ec85a0 /views/default/page/error.php
parent77c79deec262938410fe02e6cba7cb0568de703b (diff)
downloadelgg-c2cddede38dbb29d53167e296981a678759e0648.tar.gz
elgg-c2cddede38dbb29d53167e296981a678759e0648.tar.bz2
first version of a 404 page
Diffstat (limited to 'views/default/page/error.php')
-rw-r--r--views/default/page/error.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/page/error.php b/views/default/page/error.php
new file mode 100644
index 000000000..b7ba3ae9b
--- /dev/null
+++ b/views/default/page/error.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Page shell for errors
+ *
+ * This is for errors that are not unhandled exceptions. Those are handled
+ * through the failsafe viewtype to guarantee that no further exceptions occur.
+ * An example error would be 404 (page not found).
+ *
+ * @uses $vars['title'] The page title
+ * @uses $vars['body'] The main content of the page
+ * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages()
+ */
+
+echo elgg_view('page/default', $vars);