We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2fd784 commit 8597ef5Copy full SHA for 8597ef5
web/src/app/WebApp/Installers/WordpressSetup.php
@@ -51,7 +51,7 @@ public function install(array $options = null)
51
throw new \Exception("Error installing config file in: " . $tmp_configpath . " to:" . $this->getDocRoot("wp-config.php") . $result->text );
52
}
53
54
- exec("/usr/bin/curl --post301 --insecure --resolve ".$this->domain.":80:".$this->appcontext->getWebDomainIp($this->domain)." "
+ exec("/usr/bin/curl --location --post301 --insecure --resolve ".$this->domain.":80:".$this->appcontext->getWebDomainIp($this->domain)." "
55
. escapeshellarg("http://".$this->domain."/wp-admin/install.php?step=2")
56
. " -d " . escapeshellarg(
57
"weblog_title=" . rawurlencode($options['site_name'])
0 commit comments