mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-19 22:12:05 +01:00
bug fix: ssl v2
This commit is contained in:
@@ -815,7 +815,10 @@ PDNS_Token='{APIKey}'
|
||||
command = f'echo "{PDNSContent}" >> {path}'
|
||||
ProcessUtilities.executioner(command,None, True)
|
||||
|
||||
PDNSPath = '/etc/pdns/pdns.conf'
|
||||
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
|
||||
PDNSPath = '/etc/pdns/pdns.conf'
|
||||
else:
|
||||
PDNSPath = '/etc/powerdns/pdns.conf'
|
||||
|
||||
|
||||
PDNSConf = f"""
|
||||
|
||||
Reference in New Issue
Block a user