Compare commits

..

1 Commits

Author SHA1 Message Date
mercury 21b7a4816f fix bot dump when telegram logs are empty 2024-11-18 00:31:53 +04:00
2 changed files with 7 additions and 2 deletions
+5 -2
View File
@@ -1223,6 +1223,7 @@ class Bot
}
}
} catch (Exception $e) {
file_put_contents('/logs/php_error', $e->getMessage());
}
}
@@ -4696,8 +4697,10 @@ DNS-over-HTTPS with IP:
}
fclose($r);
}
foreach (array_keys($xr) as $v) {
$text .= "allow $v;\n";
if (!empty($xr)) {
foreach (array_keys($xr) as $v) {
$text .= "allow $v;\n";
}
}
if (!empty($pac['white'])) {
$pac['white'] = array_unique($pac['white']);
+2
View File
@@ -1,3 +1,5 @@
18.11.2024 v1.106
- фикс отвала бота при пустых логах телеги
17.11.2024 v1.105
- фикс установки домена при первом запуске
16.11.2024 v1.104