From 853c60a09217e52d4889fe348bc386d067daa3fa Mon Sep 17 00:00:00 2001 From: Rodolphe Robles Date: Tue, 7 Apr 2020 18:22:25 +0200 Subject: [PATCH] try to make possible install on root path and change url from or to root path --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 10c1b7e..32c262b 100644 --- a/scripts/install +++ b/scripts/install @@ -91,9 +91,9 @@ ynh_replace_string --match_string="const PREFER_HTTPS = false;" --replace_string if $path_url != / then - ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url/';" --target_file="$final_path/config.local.php" + ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url';" --target_file="$final_path/config.local.php" else - ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url';" --target_file="$final_path/config.local.php" + ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url/';" --target_file="$final_path/config.local.php" fi #================================================= # Files owned by user app