Ver código fonte

Update PhyreServer.php

Bozhidar Slaveykov 1 ano atrás
pai
commit
3d6b440d74
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      web/app/Models/PhyreServer.php

+ 2 - 2
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');