protect adguard on backup restore

This commit is contained in:
mercury
2024-03-10 13:01:32 +04:00
parent 367bfc0fbc
commit e01ef61b62
+1
View File
@@ -1161,6 +1161,7 @@ class Bot
}
}
file_put_contents('/config/nginx.conf', $t);
$this->adguardProtect();
$out[] = $this->ssh("nginx -s reload 2>&1", 'ng');
$this->update($this->input['chat'], $this->input['message_id'], implode("\n", $out));