mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
feature: allow imunify install without cloudlinux'
This commit is contained in:
@@ -1567,10 +1567,7 @@ class FirewallManager:
|
||||
data = {}
|
||||
data['ipAddress'] = fullAddress
|
||||
|
||||
if os.path.exists(FirewallManager.CLPath):
|
||||
data['CL'] = 1
|
||||
else:
|
||||
data['CL'] = 0
|
||||
|
||||
if os.path.exists(FirewallManager.imunifyPath):
|
||||
data['imunify'] = 1
|
||||
|
||||
Reference in New Issue
Block a user