Routing

If nothing is configured, web-framework will only allow traffic to the default page (main by default). To make sure other pages get handled we have to populate the routing array.

Adding a route

Routes are configured in includes/site_logic.inc.php.

Let’s add a route: