mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 01:06:09 +01:00
docker manager
This commit is contained in:
@@ -1345,9 +1345,9 @@ class FirewallManager:
|
||||
if fileName == 'categories.conf':
|
||||
continue
|
||||
|
||||
if fileName.endswith('dis'):
|
||||
if fileName.endswith('bak'):
|
||||
status = 0
|
||||
fileName = fileName.rstrip('.dis')
|
||||
fileName = fileName.rstrip('.bak')
|
||||
elif fileName.endswith('conf'):
|
||||
status = 1
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user