From e01ef61b629748c814b3c80e7cd41cf47db1c481 Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 10 Mar 2024 13:01:32 +0400 Subject: [PATCH] protect adguard on backup restore --- app/bot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bot.php b/app/bot.php index e44e73a..7525b93 100644 --- a/app/bot.php +++ b/app/bot.php @@ -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));