1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00

Config panel

This commit is contained in:
Limezy 2024-02-20 22:58:52 +07:00
parent 10af942ad1
commit 6c7200c84c
2 changed files with 10 additions and 12 deletions

View file

@ -1,8 +1,10 @@
version = "1.0"
[main]
[main.main]
[main.main.CREATION_COMPTE]
ask.en = "Création de comptes"
type = "select"
choices = ["true", "false"]
name = "Moncycle.app configuration"
[main.comptes]
name = "comptes"
[main.comptes.CREATION_COMPTE]
ask.en = "Enable account creation"
type = "boolean"
default = "true"
bind = ":__INSTALL_DIR__/config.php"

View file

@ -32,13 +32,6 @@ ram.runtime = "50M"
[install.init_main_permission]
type = "group"
[install.CREATION_COMPTE]
ask.en = "Can accounts be created ?"
ask.fr = "Laisser la création de nouveaux comptes ouverte ?"
type = "select"
choices = ["true", "false"]
default = "true"
[resources]
[resources.sources.main]
url = "https://github.com/jean-io/moncycle.app/archive/2eaf8d5765423276f2f16816fb62218f6b311555.zip"
@ -56,3 +49,6 @@ ram.runtime = "50M"
[resources.database]
type = "mysql"
[main.main.CREATION_COMPTE]
CREATION_COMPTE="true"