From 8e1a0d1ea509adb08f7a3cc31addb2e7d49a82ab 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 10:17:45 +0100 Subject: [PATCH] Fix --- check_process | 2 +- manifest.json | 6 ------ scripts/install | 8 ++++---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/check_process b/check_process index 9f8650a..024f000 100644 --- a/check_process +++ b/check_process @@ -8,7 +8,7 @@ password="1Strong-Password" ; Checks pkg_linter=1 - setup_sub_dir=1 + setup_sub_dir=0 setup_root=1 setup_nourl=0 setup_private=1 diff --git a/manifest.json b/manifest.json index 873cd1d..8628f7e 100644 --- a/manifest.json +++ b/manifest.json @@ -34,12 +34,6 @@ "name": "domain", "type": "domain" }, - { - "name": "path", - "type": "path", - "example": "/phpback", - "default": "/phpback" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index efa8092..9d0a763 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC app=$YNH_APP_INSTANCE_NAME @@ -109,10 +109,10 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -#ynh_add_config --template="../conf/database.php" --destination="$final_path/application/config/database.php" +ynh_add_config --template="../conf/database.php" --destination="$final_path/application/config/database.php" -#chmod 777 "$final_path/application/config/database.php" -#chown $app:$app "$final_path/application/config/database.php" +chmod 775 "$final_path/application/config/database.php" +chown $app:$app "$final_path/application/config/database.php" #================================================= # SETUP SSOWAT