aboutsummaryrefslogtreecommitdiff
path: root/index.php
blob: a977e7396aa75af1656e6872dc805d443a807cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php


session_start();



require('app/fn/fn.php');


require('./vendor/autoload.php');

spl_autoload_register('class_autoloader');


$app = new Application();
$app->wakeup();

try {
    $matchoper = new Routes();
    $matchoper->match();

} catch (Exception $e) {
    echo '<h1>⚠ Woops ! There is a little problem : </h1>', $e->getMessage(), "\n";
}






?>