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

Fix linter

This commit is contained in:
Éric Gaspar 2023-01-23 12:59:09 +01:00
parent 1c9a1c5ba7
commit 69df1926a6
4 changed files with 11 additions and 11 deletions

View file

@ -8,8 +8,8 @@
*/
define("DB_HOST", "localhost");
define("DB_ID", "__APP__");
define("DB_NAME", "__APP__");
define("DB_ID", "__DB_USER__");
define("DB_NAME", "__DB_NAME__");
define("DB_PORT", 3306);
define("DB_PASSWORD", "__DB_PWD__");

View file

@ -1,10 +1,10 @@
{
"name": "Moncycle.app",
"id": "moncycle_app",
"name": "Moncycle",
"id": "moncycle",
"packaging_format": 1,
"description": {
"en": "Menstrual cycle follow-up application for natural family planning",
"fr": "Application de suivi de cycle pour les méthodes naturelles de régulation de naissance."
"en": "Menstrual cycle follow-up for natural family planning",
"fr": "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
},
"version": "7.0~ynh1",
"url": "https://moncycle.app",
@ -38,8 +38,8 @@
{
"name": "path",
"type": "path",
"example": "/example",
"default": "/example"
"example": "/moncycle",
"default": "/moncycle"
},
{
"name": "is_public",

View file

@ -86,14 +86,14 @@ ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --time --weight=1
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..." --time --weight=1
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"

View file

@ -97,7 +97,7 @@ ynh_add_fpm_config
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --time --weight=1
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config