Bootstrap

This commit is contained in:
2021-03-25 21:11:12 -03:00
parent 078c4503a8
commit 398965689d
4 changed files with 64 additions and 0 deletions

7
bootstrap/errors.php Normal file
View File

@ -0,0 +1,7 @@
<?php
if (config('app.debug')) {
$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();
}
?>