Update to v7.57.0

This commit is contained in:
aapanel.com
2025-11-21 17:19:27 +08:00
parent b6e4ab8b35
commit eb21fc65dd
1241 changed files with 22299 additions and 5531 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ class main(safeBase):
get.status = '1'
filename = '/etc/sysctl.conf'
conf = public.readFile(filename)
if not conf:
if not conf or not isinstance(conf, str):
return public.return_message(-1, 0, '/etc/sysctl.conf File Read ExceptionUnable to set ping ban')
if conf.find('net.ipv4.icmp_echo') != -1: