1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

try to make possible install on root path and change url from or to root path

This commit is contained in:
Rodolphe Robles 2020-04-07 18:52:49 +02:00
parent 002c6b1d44
commit 1a99a69f7c

View file

@ -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