Add php version selection into wo.conf

* set PHP 7.3 as default php version
* update travis script
This commit is contained in:
VirtuBox
2020-01-28 12:47:00 +01:00
parent 47dbb65ed8
commit 65b950e5ac
5 changed files with 63 additions and 41 deletions

View File

@@ -220,7 +220,6 @@ class WOSiteUpdateController(CementBaseController):
Log.error(
self, "service nginx reload failed. "
"check issues with `nginx -t` command")
return 0
# setup ngxblocker
if (pargs.ngxblocker):
@@ -244,7 +243,6 @@ class WOSiteUpdateController(CementBaseController):
if not WOService.reload_service(self, 'nginx'):
Log.error(self, "service nginx reload failed. "
"check issues with `nginx -t` command")
return 0
# letsencryot rebew
if (pargs.letsencrypt == 'renew'):
@@ -615,7 +613,7 @@ class WOSiteUpdateController(CementBaseController):
if WOAcme.cert_check(self, wo_domain):
if SSL.archivedcertificatehandle(
self, wo_domain, acme_domains):
self, wo_domain, acme_domains):
letsencrypt = True
else:
if acme_subdomain: