aboutsummaryrefslogtreecommitdiff
path: root/index.php
blob: 061509d6e65de80a2fc8572c1f32836091c2c096 (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
<?php


session_start();



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


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


$app = new Wcms\Application();
$app->wakeup();
Sentry\init(['dsn' => Wcms\Config::sentrydsn()]);

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

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






?>