⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.63
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
mydetails.com.ng
/
app
/
Http
/
Middleware
/
View File Name :
CheckVcardEnquiry.php
where('tenant_id', getLogInTenantId())->pluck('id')->toArray(); if ($request->vcard) { if (in_array($request->vcard, $vcards)) { return $next($request); } else { abort('404'); } } if (! is_numeric($request->enquiry)) { if ($request->appointment) { $appointment = ScheduleAppointment::whereIn('vcard_id', $vcards)->pluck('id')->toArray(); if (in_array($request->appointment->id, $appointment)) { return $next($request); } else { abort('404'); } } $enquiry = Enquiry::whereIn('vcard_id', $vcards)->pluck('id')->toArray(); if (in_array($request->enquiry->id, $enquiry)) { return $next($request); } else { return Response::json(ResponseUtil::makeError('Seems, you are not allowed to access this record."'), 422); } } else { $enquiry = Enquiry::whereIn('vcard_id', $vcards)->pluck('id')->toArray(); if (in_array($request->enquiry, $enquiry)) { return $next($request); } else { abort('404'); } } } }