One Hat Cyber Team
Your IP:
216.73.216.102
Server IP:
198.54.114.155
Server:
Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
5.6.40
Create File
|
Create Folder
Execute
Dir :
~
/
home
/
fluxyjvi
/
www
/
project
/
app
/
Http
/
Traits
/
Edit File:
PlanCheck.php
<?php namespace App\Http\Traits; trait PlanCheck{ protected function planAvailabilityCheck(){ $user = auth()->user(); if($user->bank_plan_id === null){ return redirect()->back()->with('unsuccess','You have to buy a plan to withdraw.'); } if(now()->gt($user->plan_end_date)){ return redirect()->back()->with('unsuccess','Plan Date Expired.'); } } }
Simpan