aboutsummaryrefslogtreecommitdiff
path: root/w/w.index.php
diff options
context:
space:
mode:
Diffstat (limited to 'w/w.index.php')
-rw-r--r--w/w.index.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/w/w.index.php b/w/w.index.php
index 2ab4880..8727591 100644
--- a/w/w.index.php
+++ b/w/w.index.php
@@ -32,14 +32,12 @@ spl_autoload_register('class_autoloader');
// var_dump($artmanager->getlisterwhere(['id', 'description'], ['55', '44', 'lol']));
+try {
+ $router = new Router;
-Configtest::setinfo('coucou');
-
-
-$router = new Router;
-
-
-
+} catch(Exception $e) {
+ echo 'Exception reçue : ', $e->getMessage(), "\n";
+}