From 87c751c231f68958e61ff4c0364cbff19c8b357a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 10 Feb 2019 16:33:54 +0100 Subject: [PATCH] remove site_description --- check_process | 1 - conf/config.ini | 2 +- manifest.json | 10 ---------- scripts/install | 3 --- 4 files changed, 1 insertion(+), 15 deletions(-) diff --git a/check_process b/check_process index ba5bb8c..196377e 100644 --- a/check_process +++ b/check_process @@ -11,7 +11,6 @@ is_public=1 (PUBLIC|public=1|private=0) password="pass" single_user="true" - site_description="WriteFreely Blogs" open_registration="true" max_blogs="1" federation="true" diff --git a/conf/config.ini b/conf/config.ini index 2e024c0..bd12e6e 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -20,7 +20,7 @@ port = 3306 [app] site_name = -site_description = __SITEDESCRIPTION__ +site_description = host = __DOMAIN_URL__ theme = write disable_js = false diff --git a/manifest.json b/manifest.json index 2df2997..94cf662 100644 --- a/manifest.json +++ b/manifest.json @@ -72,16 +72,6 @@ }, "default": true }, - { - "name": "site_description", - "type": "string", - "ask": { - "en": "Choose a description for your WriteFreely instance", - "fr": "Choisissez une description pour votre instance WriteFreely" - }, - "default": "WriteFreely_Blogs" - }, - { "name": "open_registration", "type": "boolean", "ask": { diff --git a/scripts/install b/scripts/install index 78f1d3b..4bb28d0 100755 --- a/scripts/install +++ b/scripts/install @@ -43,7 +43,6 @@ is_public=$YNH_APP_ARG_IS_PUBLIC #language=$YNH_APP_ARG_LANGUAGE password=$YNH_APP_ARG_PASSWORD single_user=$YNH_APP_ARG_SINGLE_USER -site_description=$YNH_APP_ARG_SITE_DESCRIPTION open_registration=$YNH_APP_ARG_OPEN_REGISTRATION max_blogs=$YNH_APP_ARG_MAX_BLOGS federation=$YNH_APP_ARG_FEDERATION @@ -96,7 +95,6 @@ ynh_app_setting_set $app admin $admin ynh_app_setting_set $app is_public $is_public #ynh_app_setting_set $app language $language ynh_app_setting_set $app single_user $single_user -ynh_app_setting_set $app site_description $site_description ynh_app_setting_set $app open_registration $open_registration ynh_app_setting_set $app max_blogs $max_blogs ynh_app_setting_set $app federation $federation @@ -275,7 +273,6 @@ ynh_replace_string "__DBPWD__" "$db_pwd" "$final_path/config.ini" ynh_replace_string "__PORT__" "$port" "$final_path/config.ini" ynh_replace_string "__DOMAIN_URL__" "https://$domain$path_url" "$final_path/config.ini" ynh_replace_string "__SINGLEUSER__" "$single_user" "$final_path/config.ini" -ynh_replace_string "__SITEDESCRIPTION__" "$site_description" "$final_path/config.ini" ynh_replace_string "__OPENREGISTRATION__" "$open_registration" "$final_path/config.ini" ynh_replace_string "__MAXBLOGS__" "$max_blogs" "$final_path/config.ini" ynh_replace_string "__FEDERATION__" "$federation" "$final_path/config.ini"