restart php after installing phpmyadmin (#198)

This commit is contained in:
Saeed Vaziry
2024-05-09 12:52:28 +02:00
committed by GitHub
parent 016886f307
commit 765ac21916
6 changed files with 14 additions and 11 deletions

View File

@ -94,12 +94,6 @@ public function connect(bool $sftp = false): void
public function exec(string $command, string $log = '', ?int $siteId = null, ?bool $stream = false): string
{
if (! $this->log && $log) {
$this->log = $this->server->logs()->create([
'site_id' => $siteId,
'name' => $this->server->id.'-'.strtotime('now').'-'.$log.'.log',
'type' => $log,
'disk' => config('core.logs_disk'),
]);
$this->log = ServerLog::make($this->server, $log);
if ($siteId) {
$this->log->forSite($siteId);