fix hsts for html sites
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user