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

@ -1,4 +1,4 @@
$wakkaConfig = array(
$wakkaConfig = [
'wakka_version' => '0.1.1',
'wikini_version' => '0.5.0',
'yeswiki_version' => 'doryphore',
@ -63,4 +63,20 @@ $wakkaConfig = array(
),
'default_language' => 'fr',
'db_charset' => 'utf8mb4',
);
'yeswiki-farm-admin-name' => 'WikiAdminFerme',
'yeswiki-farm-admin-pass' => 'A CHANGER !!!',
'yeswiki-farm-extra-config' => [
'contact_mail_func' => 'smtp',
'contact_smtp_host' => '<?=$this->e($smtpHost)?>',
'contact_smtp_port' => '<?=$this->e($smtpPort)?>',
'contact_smtp_pass' => '<?=$this->e($smtpPass)?>',
'contact_smtp_user' => '<?=$this->e($smtpUser)?>',
'contact_from' => '<?=$this->e($contactFrom)?>',
],
'contact_mail_func' => 'smtp',
'contact_smtp_host' => '<?=$this->e($smtpHost)?>',
'contact_smtp_port' => '<?=$this->e($smtpPort)?>',
'contact_smtp_pass' => '<?=$this->e($smtpPass)?>',
'contact_smtp_user' => '<?=$this->e($smtpUser)?>',
'contact_from' => '<?=$this->e($contactFrom)?>',
];