From e601e60b3b560a1e8cf4990ce778a66138143bd8 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 8 Apr 2020 14:33:16 +0200 Subject: [PATCH] change install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 254d494..2f21077 100644 --- a/scripts/install +++ b/scripts/install @@ -85,11 +85,11 @@ ynh_setup_source --dest_dir="$final_path" #================================================= #echo "const WWW_URI = '$path_url/';" >> $final_path/config.local.php -#cp -a $final_path/config.dist.php $final_path/config.local.php +cp -a $final_path/config.dist.php $final_path/config.local.php # ynh_replace_string --match_string="const ROOT = __DIR__;" --replace_string="const ROOT = /var/www/garradin/;" --target_file="$final_path/config.local.php" # ynh_replace_string --match_string="const PREFER_HTTPS = false;" --replace_string="const PREFER_HTTPS = true;" --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" +ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url/';" --target_file="$final_path/config.local.php" #================================================= # Files owned by user app