summaryrefslogtreecommitdiffstats
path: root/app/controller
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-11-21 19:59:25 -0500
committerM <m@lfurio.us>2015-11-21 19:59:25 -0500
commit49b19e95939cd38ffc9b2601a2c97ea1ee4d8eb3 (patch)
treecb75d98b6f8f667c0c1e992f0df92fc11e215b41 /app/controller
parentadade14d9e386797a65f1beb405c21ebbff1ca37 (diff)
downloadscrott-49b19e95939cd38ffc9b2601a2c97ea1ee4d8eb3.tar.gz
scrott-49b19e95939cd38ffc9b2601a2c97ea1ee4d8eb3.zip
+ Added app root controller
* Finished implementing app main function to instanciate root and delegate to it
Diffstat (limited to 'app/controller')
-rw-r--r--app/controller/root.control.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/controller/root.control.php b/app/controller/root.control.php
new file mode 100644
index 0000000..2d12eb6
--- /dev/null
+++ b/app/controller/root.control.php
@@ -0,0 +1,20 @@
+<?php
+
+require_once "class/controller.class.php";
+
+/*
+ * Root-level controller for Scrott app. This object will delegate the page request to the
+ * appropriate controller or handle it with an error message page.
+ */
+class Root extends Controller
+{
+ /*
+ * Controller implementation
+ */
+ function handle($argv)
+ {
+ /* TODO */
+ }
+}
+
+?>