feature: allow imunify install without cloudlinux'

This commit is contained in:
Usman Nasir
2020-12-17 21:09:50 +05:00
parent e36b6b8a6a
commit 68a7c8c18a

View File

@@ -1567,10 +1567,7 @@ class FirewallManager:
data = {}
data['ipAddress'] = fullAddress
if os.path.exists(FirewallManager.CLPath):
data['CL'] = 1
else:
data['CL'] = 0
data['CL'] = 1
if os.path.exists(FirewallManager.imunifyPath):
data['imunify'] = 1