Set true and false as raw variable in wp-config
This commit is contained in:
@@ -341,7 +341,7 @@ def setupwordpress(self, data):
|
|||||||
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
||||||
.format(WOVariables.wo_wpcli_path) +
|
.format(WOVariables.wo_wpcli_path) +
|
||||||
"config set CONCATENATE_SCRIPTS "
|
"config set CONCATENATE_SCRIPTS "
|
||||||
"false\"")
|
"false --raw\"")
|
||||||
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
||||||
.format(WOVariables.wo_wpcli_path) +
|
.format(WOVariables.wo_wpcli_path) +
|
||||||
"config set WP_POST_REVISIONS "
|
"config set WP_POST_REVISIONS "
|
||||||
@@ -349,7 +349,7 @@ def setupwordpress(self, data):
|
|||||||
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
||||||
.format(WOVariables.wo_wpcli_path) +
|
.format(WOVariables.wo_wpcli_path) +
|
||||||
"config set MEDIA_TRASH "
|
"config set MEDIA_TRASH "
|
||||||
"true\"")
|
"true --raw\"")
|
||||||
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root "
|
||||||
.format(WOVariables.wo_wpcli_path) +
|
.format(WOVariables.wo_wpcli_path) +
|
||||||
"config set EMPTY_TRASH_DAYS "
|
"config set EMPTY_TRASH_DAYS "
|
||||||
|
|||||||
Reference in New Issue
Block a user