1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00

fix install script for label and color

This commit is contained in:
farvardin 2020-03-27 11:26:22 +01:00
parent 998084fdd1
commit f126947fb7
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?php /* Configuration file for LionWiki. */ <?php /* Configuration file for LionWiki. */
$WIKI_TITLE = 'Wiki'; // name of the site $WIKI_TITLE = '__YNH_LABEL__'; // name of the site
// SHA1 hash of password. If empty (or commented out), no password is required // SHA1 hash of password. If empty (or commented out), no password is required

View file

@ -192,9 +192,9 @@ ynh_replace_string --match_string="__YNH_PASSWORD__" --replace_string="$password
ynh_replace_string --match_string="__YNH_LANG__" --replace_string="$language" --target_file="$final_path/config.php" ynh_replace_string --match_string="__YNH_LANG__" --replace_string="$language" --target_file="$final_path/config.php"
ynh_replace_string --match_string="__YNH_LABEL__" --replace_string="$label" --target_file="$final_path/config.php" ynh_replace_string --match_string="__YNH_LABEL__" --replace_string="$wiki" --target_file="$final_path/config.php"
ynh_replace_string --match_string="__YNH_COLOR__" --replace_string="$color" --target_file="$final_path/config.php" ynh_replace_string --match_string="__YNH_COLOR__" --replace_string="$color" --target_file="$final_path/templates/minimaxing/minimaxing.less"