summaryrefslogtreecommitdiffstats
path: root/app/index.php
blob: ca2ce45eb63ff0851c5154783be87cb25d24f92f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

include_once "controller/root.control.php";

/*
 * Entry-point to app. Grab the requested path and pass it to the root app controller.
 */
function main($argv)
{
    /* TODO */
    echo "Scrott!<br />";
}

main(explode("/", $_SERVER['PATH_INFO'])); // Start rendering web page for the requested path.

?>