2025-01-24 16:37:40 +03:00
|
|
|
$wakkaConfig = [
|
2025-01-24 13:31:05 +03:00
|
|
|
'wakka_version' => '0.1.1',
|
|
|
|
'wikini_version' => '0.5.0',
|
|
|
|
'yeswiki_version' => 'doryphore',
|
|
|
|
'yeswiki_release' => '<?=$this->e($yeswikiVersion)?>',
|
|
|
|
'charset' => 'UTF-8',
|
|
|
|
'debug' => 'no',
|
|
|
|
'mysql_host' => 'localhost',
|
|
|
|
'mysql_database' => '<?=$this->e($database)?>',
|
|
|
|
'mysql_user' => '<?=$this->e($databaseUser)?>',
|
|
|
|
'mysql_password' => '<?=$this->e($databasePassword)?>',
|
|
|
|
'table_prefix' => 'yeswiki_',
|
|
|
|
'base_url' => 'https://<?=$this->e($domain)?>/?',
|
|
|
|
'rewrite_mode' => false,
|
|
|
|
'meta_keywords' => '',
|
|
|
|
'meta_description' => '<?=$this->e($domain)?>',
|
|
|
|
'header_action' => 'header',
|
|
|
|
'footer_action' => 'footer',
|
|
|
|
'navigation_links' => 'DerniersChangements :: DerniersCommentaires :: ParametresUtilisateur',
|
|
|
|
'referrers_purge_time' => 24,
|
|
|
|
'pages_purge_time' => 365,
|
|
|
|
'default_write_acl' => '*',
|
|
|
|
'default_read_acl' => '*',
|
|
|
|
'default_comment_acl' => 'comments-closed',
|
|
|
|
'comments_activated' => true,
|
|
|
|
'comments_handler' => 'yeswiki',
|
|
|
|
'preview_before_save' => false,
|
|
|
|
'allow_raw_html' => true,
|
|
|
|
'disable_wiki_links' => true,
|
|
|
|
'allowed_methods_in_iframe' =>
|
|
|
|
array(
|
|
|
|
0 => 'iframe',
|
|
|
|
1 => 'editiframe',
|
|
|
|
2 => 'bazariframe',
|
|
|
|
3 => 'render',
|
|
|
|
),
|
|
|
|
'revisionscount' => 60,
|
|
|
|
'timezone' => 'Europe/Paris',
|
|
|
|
'root_page' => 'PagePrincipale',
|
|
|
|
'wakka_name' => '<?=$this->e($domain)?>',
|
|
|
|
'htmlPurifierActivated' => false,
|
|
|
|
'favorites_activated' => true,
|
|
|
|
'archive' =>
|
|
|
|
array(
|
|
|
|
'hideConfigValues' =>
|
|
|
|
array(
|
|
|
|
'mysql_host' => '',
|
|
|
|
'mysql_database' => '',
|
|
|
|
'mysql_user' => '',
|
|
|
|
'mysql_password' => '',
|
|
|
|
'contact_smtp_host' => '',
|
|
|
|
'contact_smtp_user' => '',
|
|
|
|
'contact_smtp_pass' => '',
|
|
|
|
'api_allowed_keys' =>
|
|
|
|
array(
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'authorize_bypass_preupdate_backup' => false,
|
|
|
|
'preupdate_backup_activated' => false,
|
|
|
|
'call_archive_async' => true,
|
|
|
|
'privatePath' => 'private/backups',
|
|
|
|
'max_nb_files' => 10,
|
|
|
|
),
|
|
|
|
'default_language' => 'fr',
|
|
|
|
'db_charset' => 'utf8mb4',
|
2025-01-24 16:37:40 +03:00
|
|
|
'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)?>',
|
|
|
|
];
|