mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 16:46:06 +02:00
initial fix for: https://www.facebook.com/1828741036/videos/679000653934359/
This commit is contained in:
@@ -435,7 +435,8 @@ class backupUtilities:
|
||||
|
||||
completPathToConf = f'{backupUtilities.Server_root}/conf/vhosts/{domainName}/vhost.conf'
|
||||
|
||||
copy(completPathToConf, tempStoragePath + '/vhost.conf')
|
||||
if os.path.exists(completPathToConf):
|
||||
copy(completPathToConf, tempStoragePath + '/vhost.conf')
|
||||
|
||||
childDomains = backupMetaData.findall('ChildDomains/domain')
|
||||
|
||||
@@ -447,7 +448,8 @@ class backupUtilities:
|
||||
|
||||
|
||||
completPathToConf = f'{backupUtilities.Server_root}/conf/vhosts/{actualChildDomain}/vhost.conf'
|
||||
copy(completPathToConf, f'{tempStoragePath}/{actualChildDomain}.vhost.conf')
|
||||
if os.path.exists(completPathToConf):
|
||||
copy(completPathToConf, f'{tempStoragePath}/{actualChildDomain}.vhost.conf')
|
||||
|
||||
### Storing SSL for child domainsa
|
||||
|
||||
|
||||
Reference in New Issue
Block a user