mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
remove site_name
This commit is contained in:
parent
c139fab106
commit
6f6791966a
4 changed files with 11 additions and 20 deletions
|
@ -11,7 +11,6 @@
|
|||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
password="pass"
|
||||
single_user="true"
|
||||
site_name="WriteFreely"
|
||||
site_description="WriteFreely Blogs"
|
||||
open_registration="true"
|
||||
max_blogs="1"
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
[server]
|
||||
hidden_host =
|
||||
port = __PORT__
|
||||
bind = localhost
|
||||
tls_cert_path =
|
||||
tls_key_path =
|
||||
hidden_host =
|
||||
port = __PORT__
|
||||
bind = localhost
|
||||
tls_cert_path =
|
||||
tls_key_path =
|
||||
templates_parent_dir =
|
||||
static_parent_dir =
|
||||
pages_parent_dir =
|
||||
keys_parent_dir =
|
||||
|
||||
[database]
|
||||
type = mysql
|
||||
|
@ -15,7 +19,7 @@ host = localhost
|
|||
port = 3306
|
||||
|
||||
[app]
|
||||
site_name = __SITENAME__
|
||||
site_name =
|
||||
site_description = __SITEDESCRIPTION__
|
||||
host = __DOMAIN_URL__
|
||||
theme = write
|
||||
|
@ -29,4 +33,4 @@ federation = __FEDERATION__
|
|||
public_stats = __PUBLICSTATS__
|
||||
private = __PRIVATE__
|
||||
local_timeline = __LOCALTIMELINE__
|
||||
|
||||
user_invites =
|
||||
|
|
|
@ -72,15 +72,6 @@
|
|||
},
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "site_name",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "Choose a name for your WriteFreely instance",
|
||||
"fr": "Choisissez un nom pour votre instance WriteFreely"
|
||||
},
|
||||
"default": "WriteFreely"
|
||||
},
|
||||
{
|
||||
"name": "site_description",
|
||||
"type": "string",
|
||||
|
|
|
@ -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_name=$YNH_APP_ARG_SITE_NAME
|
||||
site_description=$YNH_APP_ARG_SITE_DESCRIPTION
|
||||
open_registration=$YNH_APP_ARG_OPEN_REGISTRATION
|
||||
max_blogs=$YNH_APP_ARG_MAX_BLOGS
|
||||
|
@ -97,7 +96,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_name $site_name
|
||||
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
|
||||
|
@ -277,7 +275,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 "__SITENAME__" "$site_name" "$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"
|
||||
|
|
Loading…
Add table
Reference in a new issue