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:
parent
4e04464f0d
commit
75a9110c3d
2 changed files with 1 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
location __PATH__/ {
|
location __PATH__ {
|
||||||
|
|
||||||
alias __FINALPATH__/ ;
|
alias __FINALPATH__/ ;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue