mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Test config panel
This commit is contained in:
parent
50d539ee4e
commit
e2d164e60a
3 changed files with 27 additions and 13 deletions
|
@ -20,10 +20,10 @@ define("SMTP_PORT", 25);
|
|||
define("SMTP_MAIL", "__APP__@__DOMAIN__");
|
||||
define("SMTP_PASSWORD", "");
|
||||
|
||||
define("CREATION_COMPTE", true);
|
||||
define("CONNEXION_COMPTE", true);
|
||||
define("CREATION_COMPTE", __CREATION_COMPTE__);
|
||||
define("CONNEXION_COMPTE", __CONNEXION_COMPTE__);
|
||||
|
||||
define("CSV_SEP", ";");
|
||||
define("CSV_SEP", "__SEPARATEUR_CSV__");
|
||||
|
||||
define("PHP_SECURE_COOKIES", true);
|
||||
|
||||
|
|
24
config_panel.toml
Normal file
24
config_panel.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
version = "1.0"
|
||||
[main]
|
||||
name = "Moncycle.app configuration"
|
||||
[main.comptes]
|
||||
name = "comptes"
|
||||
[main.comptes.creation_compte]
|
||||
ask.en = "Enable account creation"
|
||||
ask.fr = "Permettre la création de nouveaux comptes"
|
||||
type = "boolean"
|
||||
default = "true"
|
||||
bind = "CREATION_COMPTE:__INSTALL_DIR__/config.php"
|
||||
[main.comptes.connexion_compte]
|
||||
ask.en = "Enable account connexion"
|
||||
ask.fr = "Permettre la connexion aux comptes"
|
||||
type = "boolean"
|
||||
default = "true"
|
||||
bind = "CONNEXION_COMPTE:__INSTALL_DIR__/config.php"
|
||||
[main.export]
|
||||
name = "export"
|
||||
[main.export.separateur_csv]
|
||||
ask.en = "Separator for data export in csv format"
|
||||
ask.fr = "Séparateur pour l'export des données au format csv"
|
||||
type = "string"
|
||||
default = ";"
|
|
@ -1,10 +0,0 @@
|
|||
version = "1.0"
|
||||
[main]
|
||||
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"
|
Loading…
Add table
Reference in a new issue