mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
remove site_description
This commit is contained in:
parent
6f6791966a
commit
87c751c231
4 changed files with 1 additions and 15 deletions
|
@ -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"
|
||||
|
|
|
@ -20,7 +20,7 @@ port = 3306
|
|||
|
||||
[app]
|
||||
site_name =
|
||||
site_description = __SITEDESCRIPTION__
|
||||
site_description =
|
||||
host = __DOMAIN_URL__
|
||||
theme = write
|
||||
disable_js = false
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue