mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 08:46:09 +01:00
Bug fix to email policy server.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python2.7
|
||||
#!/usr/local/CyberCP/bin/python2
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
@@ -237,9 +237,7 @@ class virtualHostUtilities:
|
||||
vhost.addRewriteRules(virtualHost, fileName)
|
||||
|
||||
vhostFile = open(fileName, "w")
|
||||
|
||||
vhostFile.write(open(tempPath, "r").read())
|
||||
|
||||
vhostFile.close()
|
||||
|
||||
if os.path.exists(tempPath):
|
||||
|
||||
Reference in New Issue
Block a user