Slim-Whoops

This commit is contained in:
2020-12-18 00:03:33 -03:00
parent 11db4c173a
commit f5936c91ef
2 changed files with 4 additions and 0 deletions

View File

@ -47,4 +47,6 @@ foreach ($folders as $folder) {
include_once $filename;
}
$app->addRoutingMiddleware();
include_once 'router.php';

2
setup/web/middleware.php Normal file
View File

@ -0,0 +1,2 @@
<?php
$app->add(new Zeuxisoo\Whoops\Slim\WhoopsMiddleware());