⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
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.biz
/
app
/
Models
/
View File Name :
Business.php
type == 'company') { $user = User::find($this->created_by); } else{ $user = User::where('created_by','=',$this->created_by)->first(); } return $user->currentLanguage(); } public static function pwa_business($slug){ $business = Business::where('slug', $slug)->first(); try { $pwa_data = \File::get(storage_path('uploads/theme_app/business_' . $business->id. '/manifest.json')); $pwa_data = json_decode($pwa_data); } catch (\Throwable $th) { $pwa_data = []; } return $pwa_data; } public static function allBusiness() { $business = Business::where('created_by', \Auth::user()->creatorId())->get()->pluck('title', 'id'); if(request()->route()->getName()=='appointments.index' || request()->route()->getName()=='contacts.index') { $business->prepend('All', '0'); } return $business; } public static function card_cookie($slug) { $data = Business::where('slug', '=', $slug)->first(); return $data->gdpr_text; } public static $qr_type = [ 0 => 'Normal', 2 => 'Text', 4 =>'Image', ]; }