From 49b19e95939cd38ffc9b2601a2c97ea1ee4d8eb3 Mon Sep 17 00:00:00 2001 From: M Date: Sat, 21 Nov 2015 19:59:25 -0500 Subject: + Added app root controller * Finished implementing app main function to instanciate root and delegate to it --- app/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/index.php') 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!
"; + $app = new Root(); + $app->handle($argv); } main(explode("/", $_REQUEST['path'])); // Start rendering web page for the requested path. -- cgit v1.2.3