From 1a99a69f7c5f36293744191a2b72bb020536d1ec Mon Sep 17 00:00:00 2001 From: Rodolphe Robles Date: Tue, 7 Apr 2020 18:52:49 +0200 Subject: [PATCH] try to make possible install on root path and change url from or to root path --- scripts/install | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/install b/scripts/install index 10c1b7e..d150526 100644 --- a/scripts/install +++ b/scripts/install @@ -92,8 +92,6 @@ 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" -else - 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