summaryrefslogblamecommitdiffstats
path: root/app/index.php
blob: 37258d7bac3f249f2e7b8fa1635b84d6e2a6044b (plain) (tree)
1
2
3
4
5
6
7
8
9

     
                                           





                                                                                      

                        

 
                                                                                          

  
<?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.

?>