summaryrefslogtreecommitdiffstats
path: root/app/controller/except.control.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controller/except.control.php')
-rw-r--r--app/controller/except.control.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/controller/except.control.php b/app/controller/except.control.php
new file mode 100644
index 0000000..03d9c58
--- /dev/null
+++ b/app/controller/except.control.php
@@ -0,0 +1,27 @@
+<?php
+
+require_once "class/controller.class.php";
+require_once "model/except.mod.php";
+
+/*
+ * Display application Exceptions
+ */
+class Except extends Controller
+{
+ /*
+ * Controller implementation
+ */
+ function handle($message)
+ {
+ $mod = new ExceptModel();
+ $this->action_default($mod, $message);
+ }
+
+ function action_default($mod, $message)
+ {
+ $mod->deflt($message);
+ include "view/except/default.view.php";
+ }
+}
+
+?>