aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-19 12:34:14 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-19 12:34:14 +0200
commit6278839230ae3c27c205550889511531d09cbf20 (patch)
treed41e0177b8d72451315df43f96394a6bd681d1e3 /index.php
parent1c4182d9d88bb4471f86b08329f1b68a5290872b (diff)
downloadwcms-6278839230ae3c27c205550889511531d09cbf20.tar.gz
wcms-6278839230ae3c27c205550889511531d09cbf20.zip
finish PSR 12 error cleaning
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/index.php b/index.php
index fd9fdaa..28dab1a 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,5 @@
<?php
-
session_start();
@@ -31,17 +30,9 @@ if (isreportingerrors()) {
try {
$matchoper = new Wcms\Routes();
$matchoper->match();
-
} catch (Exception $e) {
if (isreportingerrors()) {
Sentry\captureException($e);
}
echo '<h1>⚠ Woops ! There is a little problem : </h1>', $e->getMessage(), "\n";
}
-
-
-
-
-
-
-?> \ No newline at end of file