Skip to content

Commit

Permalink
Merge pull request #5 from CanastaWiki/bugfix
Browse files Browse the repository at this point in the history
Pass domain name to install.php
  • Loading branch information
amalpaul54111 authored and Amalpaulvarokey committed Jul 22, 2022
2 parents 62c0344 + ad82e9f commit f9a334b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/mediawiki/mediawiki.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func Install(path, orchestrator string, canastaInfo canasta.CanastaVariables) (c
}
}

command = fmt.Sprintf("php maintenance/install.php --dbserver=%s --confpath=%s --scriptpath=%s --dbuser='%s' --dbpass='%s' --pass='%s' '%s' '%s'",
dbServer, confPath, scriptPath, "root", envVariables["MYSQL_PASSWORD"], canastaInfo.AdminPassword, canastaInfo.WikiName, canastaInfo.AdminName)
command = fmt.Sprintf("php maintenance/install.php --dbserver=%s --confpath=%s --scriptpath=%s --server='https://%s' --dbuser='%s' --dbpass='%s' --pass='%s' '%s' '%s'",
dbServer, confPath, scriptPath, canastaInfo.DomainName, "root", envVariables["MYSQL_PASSWORD"], canastaInfo.AdminPassword, canastaInfo.WikiName, canastaInfo.AdminName)

if err = orchestrators.Exec(path, orchestrator, "web", command); err != nil {
logging.Fatal(err)
Expand Down

0 comments on commit f9a334b

Please sign in to comment.