<?php
require_once "controller/root.control.php";
/*
* Entry-point to app. Grab the requested path and pass it to the root app controller.
*/
function main($argv)
{
$app = new Root();
$app->handle($argv);
}
main(explode("/", $_REQUEST['path'])); // Start rendering web page for the requested path.
?>