⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.229
Server IP:
95.217.99.93
Server:
Linux sv1.sonichosted.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lifestylescentra
/
public_html
/
app
/
Exceptions
/
View File Name :
AdminExceptionHandler.php
<?php namespace App\Exceptions; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Symfony\Component\HttpKernel\Exception\HttpException; use Throwable; class AdminExceptionHandler extends ExceptionHandler { public function render($request, Throwable $exception) { // Check if the request is for the admin panel if ($request->is('admin/*')) { // Handle 500 Internal Server errors if ($exception instanceof HttpException && $exception->getStatusCode() === 500) { return response()->view('errors.500', [], 500); } } return parent::render($request, $exception); } }