🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:WhoopsExceptionRenderer.php
<?php namespace Illuminate\Foundation\Exceptions\Whoops; use Illuminate\Contracts\Foundation\ExceptionRenderer; use Whoops\Run as Whoops; use function tap; class WhoopsExceptionRenderer implements ExceptionRenderer { /** * Renders the given exception as HTML. * * @param \Throwable $throwable * @return string */ public function render($throwable) { return tap(new Whoops, function ($whoops) { $whoops->appendHandler($this->whoopsHandler()); $whoops->writeToOutput(false); $whoops->allowQuit(false); })->handleException($throwable); } /** * Get the Whoops handler for the application. * * @return \Whoops\Handler\Handler */ protected function whoopsHandler() { return (new WhoopsHandler)->forDebug(); } }
Save Changes
Cancel
Create New File
Create New Folder