Fix wo update

This commit is contained in:
VirtuBox
2019-08-28 00:26:52 +02:00
parent b2eb5ea101
commit 1f407aaa48

View File

@@ -1250,8 +1250,12 @@ class WOSiteUpdateController(CementBaseController):
if pargs.letsencrypt == 'on':
data['letsencrypt'] = True
letsencrypt = True
if ((wo_domain_type == 'subdomain') and
(not pargs.letsencrypt == 'wildcard')):
wo_subdomain = True
else:
wo_subdomain = False
wo_wildcard = False
wo_subdomain = False
elif pargs.letsencrypt == 'subdomain':
data['letsencrypt'] = True
letsencrypt = True