1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

fix(install): need a comma in config, rename cog

This commit is contained in:
mrflos 2024-05-17 17:38:37 +02:00 committed by Florian Schmitt
parent 136e8d7b77
commit 9911fd72cd
2 changed files with 2 additions and 2 deletions

View file

@ -369,7 +369,7 @@ Ces services ont été mis en place par {{button class=\"btn-primary new-window\
=====Echanger=====
', '', '{{WikiName}}', '{{WikiName}}', 'Y', 'page', ''),
('PageRapideHaut', now(), '{{moteurrecherche template=\"moteurrecherche_button.tpl.html\"}}
{{buttondropdown icon=\"cog\" caret=\"0\" title=\"Roue crantée\"}}
{{buttondropdown icon=\"cog\" caret=\"0\" title=\"Gestion du site\"}}
- {{button nobtn=\"1\" icon=\"fa fa-tachometer-alt\" text=\"Tableau de bord\" link=\"TableauDeBord\"}}
- {{button nobtn=\"1\" icon=\"fa fa-question\" text=\"Documentation\" link=\"doc\"}}
- ------

View file

@ -85,7 +85,7 @@ if [ "${authprovider}" = "Yunohost LDAP" ]; then
# Add config at the end of wakka.config.php
ynh_replace_string --match_string=");" --replace_string=" 'ldap_host' => '127.0.0.1',\n);" --target_file="$install_dir/wakka.config.php"
ynh_replace_string --match_string=");" --replace_string=" 'ldap_port' => '389',\n);" --target_file="$install_dir/wakka.config.php"
ynh_replace_string --match_string=");" --replace_string=" 'ldap_base' => 'ou=users,dc=yunohost,dc=org'\n);" --target_file="$install_dir/wakka.config.php"
ynh_replace_string --match_string=");" --replace_string=" 'ldap_base' => 'ou=users,dc=yunohost,dc=org',\n);" --target_file="$install_dir/wakka.config.php"
fi
if [ "${wikimodel}" = "CLIC" ]; then