1
Codeigniter 3アプリケーションでWhoopsを設定しようとしています。Codeigniter + Whoops
私は作曲とおっとをインストールし、このようにそれを呼び出す:
use Whoops\Handler\PrettyPageHandler;
if (ENVIRONMENT == 'development') {
$whoops = new \Whoops\Run;
$whoops->pushHandler(new Whoops\Handler\PrettyPageHandler());
$whoops->register();
$handler = new PrettyPageHandler;
$handler->setEditor('sublime');
}
それは警告、注意事項および非推奨のエラーのために動作しますが、ない致命的なエラーのために。
CodeIgniterはおっとりの前にそれらを処理しているようです。この動作を変更する方法はありますか?