summaryrefslogtreecommitdiffstats
path: root/app/controller/root.control.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-01-03 15:49:33 -0500
committerMalf Furious <m@lfurio.us>2016-01-03 15:49:33 -0500
commitabb659a2753054158e9f7ec26271740a64a07e7d (patch)
tree8e24cb2b8488324c08f0fbfaf7a70f2ee892da1e /app/controller/root.control.php
parent735230c9125314e5a185e82c57cac0ad2e11b996 (diff)
downloadscrott-abb659a2753054158e9f7ec26271740a64a07e7d.tar.gz
scrott-abb659a2753054158e9f7ec26271740a64a07e7d.zip
* Hooked the Auth MVC from the Root controller
Diffstat (limited to 'app/controller/root.control.php')
-rw-r--r--app/controller/root.control.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/controller/root.control.php b/app/controller/root.control.php
index 437cae1..b44ad76 100644
--- a/app/controller/root.control.php
+++ b/app/controller/root.control.php
@@ -2,6 +2,7 @@
require_once "class/controller.class.php";
require_once "controller/sysconf.control.php";
+require_once "controller/auth.control.php";
/*
* Root-level controller for Scrott app. This object will delegate the page request to the
@@ -27,8 +28,12 @@ class Root extends Controller
}
/* TODO */
+ /* TODO -- only auth if logged out */
else
- echo "Configuration is present!";
+ {
+ $ctrl = new Auth();
+ $ctrl->handle($argv);
+ }
}
/*