mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
Update change_url
This commit is contained in:
parent
b8c0fa43ae
commit
ffac0774d7
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
domain=${new_domain%/}
|
||||
path=${new_path%/}
|
||||
dir="__DIR__"
|
||||
|
||||
# if [ "$new_path" == "/" ]; then
|
||||
# ynh_replace_string --match_string="\$CFG->wwwroot = .*" --replace_string="\$CFG->wwwroot = \'https:\/\/${new_domain%\/}\';" --target_file="$final_path/config.php"
|
||||
# else
|
||||
|
|
Loading…
Add table
Reference in a new issue