summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-17 22:31:04 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-17 22:31:04 -0400
commitad55e6ede5fab449c91aced8c1a42ae4ee7b809c (patch)
tree744fc7ba3d82c830dd90ec4de992385607b9a832 /index.php
parent09da289c2fb18475f372bee24e885617da484e0b (diff)
Remove exit expression in database provider
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index 90a4c464..2ca0731f 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,7 @@
<?php
-require __DIR__.'/app/common.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();