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