Explorar el Código

try to use console button

andre hace 4 años
padre
commit
cb2f32942b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/UI/Vms/Buttons/ConsoleButton.php

+ 2 - 2
app/UI/Vms/Buttons/ConsoleButton.php

@@ -34,8 +34,8 @@ class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
     {
         $this->initIds('consoleButton');
         $this->setDisableByColumnValue("vmid", 0);
-        $url = (new UrlServiceHelper())->getNoVncConsoleUrl();
-//        $url ="clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=vm";
+//        $url = (new UrlServiceHelper())->getNoVncConsoleUrl();
+        $url ="clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=vm";
         $this->setRawUrl($url)
             ->setRedirectParams(['vm' => ':id']);
     }