uawdijnntqw1x1x1
IP : 3.14.131.115
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
80d3f
/
..
/
core
/
config
/
..
/
app
/
Http
/
Controllers
/
CronController.php
/
/
<?php namespace App\Http\Controllers; use App\Constants\Status; use App\Models\GameLog; use App\Models\Transaction; class CronController extends Controller { public function cron() { $games = GameLog::where('status', Status::DISABLE)->get(); $general = gs(); $general->last_cron = now(); $general->save(); foreach ($games as $game) { if ($game->created_at->addMinutes(2) > now()) { continue; } $user = $game->user; $user->balance += $game->invest; $user->save(); $transaction = new Transaction(); $transaction->user_id = $user->id; $transaction->amount = $game->invest; $transaction->charge = 0; $transaction->trx_type = '+'; $transaction->details = 'In-complete game invest return'; $transaction->remark = 'invest_return'; $transaction->trx = getTrx(); $transaction->post_balance = $user->balance; $transaction->save(); $game->status = 2; $game->save(); } echo 'EXECUTED'; } }
/home/jackpotjunglegam/public_html/80d3f/../core/config/../app/Http/Controllers/CronController.php