First commit !
This commit is contained in:
commit
755961039c
8 files changed
+140
No files matched your search
@@ -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);
|
||||
Reference in new issue
Block a user