mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
bug fix: CP-17
This commit is contained in:
@@ -1476,7 +1476,7 @@ class FirewallManager:
|
||||
protocol = data['protocol']
|
||||
ports = data['ports']
|
||||
|
||||
portsPath = '/tmp/ports'
|
||||
portsPath = '/home/cyberpanel/' + str(randint(1000, 9999))
|
||||
|
||||
if os.path.exists(portsPath):
|
||||
os.remove(portsPath)
|
||||
|
||||
Reference in New Issue
Block a user