From 0a27d35a433f6c31a0c7c25d04c7fd45a363c484 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sun, 7 Apr 2024 16:22:51 +0300 Subject: [PATCH] Update PhyreServer.php --- web/app/Models/PhyreServer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/Models/PhyreServer.php b/web/app/Models/PhyreServer.php index f91d371..519ec05 100644 --- a/web/app/Models/PhyreServer.php +++ b/web/app/Models/PhyreServer.php @@ -136,9 +136,9 @@ 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');