Skip to content

Commit

Permalink
Whoops Debuger
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaextrim committed Nov 1, 2015
1 parent db92b38 commit 8fb5134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protected/config/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
/*
use Whoops\Handler\PrettyPageHandler;
use Whoops\Handler\JsonResponseHandler;
// use Whoops\Handler\JsonResponseHandler;
$run = new Whoops\Run;
$handler = new PrettyPageHandler;
Expand All @@ -43,7 +43,7 @@
// first in the stack, it will be executed before the error
// page handler, and will have a chance to decide if anything
// needs to be done.
$run->pushHandler(new JsonResponseHandler);
// $run->pushHandler(new JsonResponseHandler);
// Register the handler with PHP, and you're set!
$run->register();
Expand Down

0 comments on commit 8fb5134

Please sign in to comment.