mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
some changes to onboarding
This commit is contained in:
@@ -76,12 +76,17 @@ class virtualHostUtilities:
|
|||||||
except:
|
except:
|
||||||
CurrentHostName = ''
|
CurrentHostName = ''
|
||||||
|
|
||||||
if not skipRDNSCheck:
|
if skipRDNSCheck:
|
||||||
if not os.path.exists('/home/cyberpanel/postfix'):
|
pass
|
||||||
|
else:
|
||||||
|
if os.path.exists('/home/cyberpanel/postfix'):
|
||||||
|
pass
|
||||||
|
else:
|
||||||
message = 'This server does not come with postfix installed. [404]'
|
message = 'This server does not come with postfix installed. [404]'
|
||||||
print(message)
|
print(message)
|
||||||
logging.CyberCPLogFileWriter.statusWriter(tempStatusPath, message)
|
logging.CyberCPLogFileWriter.statusWriter(tempStatusPath, message)
|
||||||
logging.CyberCPLogFileWriter.writeToFile(message)
|
logging.CyberCPLogFileWriter.writeToFile(message)
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|||||||
Reference in New Issue
Block a user