summaryrefslogtreecommitdiffstats
path: root/app/dispatcherror-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-06-11 18:50:08 +0000
committerTed Trask <ttrask01@yahoo.com>2008-06-11 18:50:08 +0000
commita7d09d12d2210d800b1893ef14689687afb5df77 (patch)
tree0da8d46db048f2c0e2ed703dd82554250b92e663 /app/dispatcherror-html.lsp
parentcf06247f4d8776267e3f85511592e779b7f20ccf (diff)
downloadacf-core-a7d09d12d2210d800b1893ef14689687afb5df77.tar.bz2
acf-core-a7d09d12d2210d800b1893ef14689687afb5df77.tar.xz
Simplified www redirection code to only redirect if valid url.
Modified exception handler to add pages for dispatch errors and exceptions. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1215 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/dispatcherror-html.lsp')
-rw-r--r--app/dispatcherror-html.lsp9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/dispatcherror-html.lsp b/app/dispatcherror-html.lsp
new file mode 100644
index 0000000..fcfa3e7
--- /dev/null
+++ b/app/dispatcherror-html.lsp
@@ -0,0 +1,9 @@
+<? view = ... ?>
+<? --[[
+ io.write(html.cfe_unpack(view))
+--]] ?>
+
+<h1>Alpine Configuration Framework</h1>
+<p class="error">Dispatch Error</p>
+'<?= view.controller ?>' controller does not have a '<?= view.action ?>' action.
+