feat(install): add smtp config for wiki and farm
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Florian Schmitt 2025-01-24 16:37:40 +03:00
parent 40d3d22229
commit 7cb482c25e
3 changed files with 31 additions and 2 deletions

View file

@ -388,6 +388,11 @@ function createWakkaConfig($domain, $user, $dbUser)
'databaseUser' => $dbUser['user'],
'databasePassword' => $dbUser['password'],
'yeswikiVersion' => preg_replace('/.*-(.*)\.zip/m', "$1", $_SERVER['source_archive_url']),
'contactFrom' => $_SERVER['contactFrom'],
'smtpHost' => $_SERVER['smtpHost'],
'smtpPort' => $_SERVER['smtpPort'],
'smtpUser' => $_SERVER['smtpUser'],
'smtpPass' => $_SERVER['smtpPass'],
]));
}