update php stack check during site creating

* use the php version define in wo.conf
* define php7.3 as default
This commit is contained in:
VirtuBox
2020-01-28 13:31:18 +01:00
parent 65b950e5ac
commit dce09ddadb
2 changed files with 34 additions and 16 deletions

View File

@@ -531,8 +531,8 @@ class WOSiteUpdateController(CementBaseController):
data['wo_php'] = 'php72'
check_php_version = '7.2'
else:
data['wo_php'] = 'php72'
check_php_version = '7.2'
data['wo_php'] = 'php73'
check_php_version = '7.3'
if pargs.hsts:
data['hsts'] = bool(pargs.hsts == "on")