From 3d6b440d74145e1837dacf23e32850602e0e348d Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sun, 7 Apr 2024 15:38:55 +0300 Subject: [PATCH] Update PhyreServer.php --- web/app/Models/PhyreServer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/Models/PhyreServer.php b/web/app/Models/PhyreServer.php index fab609e..2ca2de1 100644 --- a/web/app/Models/PhyreServer.php +++ b/web/app/Models/PhyreServer.php @@ -137,8 +137,8 @@ class PhyreServer extends Model $ssh = new SSH2($this->ip); if ($ssh->login($this->username, $this->password)) { -// $output = $ssh->exec('cd /usr/local/phyre/web && /usr/local/phyre/php/bin/php artisan apache:ping-websites-with-curl'); -// dd($output); + $output = $ssh->exec('cd /usr/local/phyre/web && /usr/local/phyre/php/bin/php artisan apache:ping-websites-with-curl'); + dd($output); $output = ''; $output .= $ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');