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

Fixes for sub-path

This commit is contained in:
anmol26s 2018-09-16 18:29:37 +05:30
parent 4e04464f0d
commit 75a9110c3d
2 changed files with 1 additions and 3 deletions

View file

@ -1,4 +1,4 @@
location __PATH__/ { location __PATH__ {
alias __FINALPATH__/ ; alias __FINALPATH__/ ;

View file

@ -34,8 +34,6 @@ final_path=$(ynh_app_setting_get $app final_path)
test -n "$old_path" || old_path="/" test -n "$old_path" || old_path="/"
test -n "$new_path" || new_path="/" test -n "$new_path" || new_path="/"
new_path=$(ynh_normalize_url_path $new_path)
old_path=$(ynh_normalize_url_path $old_path)
#================================================= #=================================================
# CHECK WHICH PARTS SHOULD BE CHANGED # CHECK WHICH PARTS SHOULD BE CHANGED