fix hsts for html sites

This commit is contained in:
VirtuBox
2019-04-17 04:24:44 +02:00
parent c2a19048ef
commit 7ea4219ee7
2 changed files with 2 additions and 2 deletions

View File

@@ -908,7 +908,7 @@ class WOSiteUpdateController(CementBaseController):
(stype == 'wpsubdir' and oldsitetype in ['wpsubdomain']) or
(stype == 'wpsubdomain' and oldsitetype in ['wpsubdir']) or
(stype == oldsitetype and cache == oldcachetype) and
not pargs.php73):
not pargs.php73 or pargs.hsts):
Log.info(self, Log.FAIL + "can not update {0} {1} to {2} {3}".
format(oldsitetype, oldcachetype, stype, cache))
return 1