add phpmyadmin

This commit is contained in:
Saeed Vaziry
2024-03-27 11:41:29 +01:00
parent a7ba095919
commit 9244e69fd8
34 changed files with 401 additions and 85 deletions

View File

@ -131,4 +131,21 @@ public function runScript(string $path, string $script, ?int $siteId = null): Se
return $ssh->log;
}
public function download(string $url, string $path): string
{
return $this->server->ssh()->exec(
$this->getScript('download.sh', [
'url' => $url,
'path' => $path,
])
);
}
public function unzip(string $path): string
{
return $this->server->ssh()->exec(
'unzip '.$path
);
}
}