summaryrefslogtreecommitdiffstats
path: root/app/index.php
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/index.php
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 '')
-rw-r--r--app/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/index.php b/app/index.php
index 854df0b..37258d7 100644
--- a/app/index.php
+++ b/app/index.php
@@ -7,8 +7,8 @@ require_once "controller/root.control.php";
*/
function main($argv)
{
- /* TODO */
- echo "Scrott!<br />";
+ $app = new Root();
+ $app->handle($argv);
}
main(explode("/", $_REQUEST['path'])); // Start rendering web page for the requested path.