summaryrefslogtreecommitdiff
path: root/index.php
blob: 2ca0731f4b7f9f08c31003f9d64a8abbd2b14373 (plain)
1
2
3
4
5
6
7
8
<?php

try {
    require __DIR__.'/app/common.php';
    $container['router']->dispatch($_SERVER['REQUEST_URI'], isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '');
} catch (Exception $e) {
    echo 'Internal Error: '.$e->getMessage();
}