Fix installer version check

This commit is contained in:
VirtuBox
2019-08-31 02:42:46 +02:00
parent 50b756e2bf
commit 4026255513
3 changed files with 15 additions and 6 deletions

View File

@@ -519,7 +519,7 @@ def setupwordpress(self, data, vhostonly=False):
WOShellExec.cmd_exec(self, " {0} --allow-root "
.format(WOVariables.wo_wpcli_path) +
"rewrite structure "
"/%year%/%monthnum%/%day%/%postname%/")
"/%postname%/")
except CommandExecutionError as e:
Log.debug(self, str(e))
raise SiteError("Update wordpress permalinks failed")