From 69df1926a6c90291794459596ffe05956b63201b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 23 Jan 2023 12:59:09 +0100 Subject: [PATCH] Fix linter --- conf/config.php | 4 ++-- manifest.json | 12 ++++++------ scripts/restore | 4 ++-- scripts/upgrade | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/conf/config.php b/conf/config.php index 85121dc..3bfef15 100644 --- a/conf/config.php +++ b/conf/config.php @@ -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__"); diff --git a/manifest.json b/manifest.json index 8885571..80bb599 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/scripts/restore b/scripts/restore index da920e5..fa8e115 100755 --- a/scripts/restore +++ b/scripts/restore @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index 89203f9..35c2315 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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