First commit !

This commit is contained in:
mcndave committed 2019-07-03 13:28:35 +00:00
commit 755961039c
8 files changed
+140

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<?php
use Whoops\Run as Whoops;
use Whoops\Handler\PrettyPageHandler as Handler;
$whoops = new Whoops();
$whoops->allowQuit(false);
$whoops->writeToOutput(false);
$whoops->pushHandler(new Handler());
IF CLI {
$handler->handleUnconditionally(true);
}
$body = $whoops->handleException($this->exception);