From: Paul Hänsch Date: Wed, 25 May 2022 19:40:39 +0000 (+0200) Subject: bugfix: variable name X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a3dafeab4e60718460b9f46f560faea764aa7018;p=shellwiki bugfix: variable name --- diff --git a/handlers/10_page.sh b/handlers/10_page.sh index edb849a..87af685 100755 --- a/handlers/10_page.sh +++ b/handlers/10_page.sh @@ -56,9 +56,9 @@ case "${PATH_INFO}" in return 1 ;; */) - if [ ! "$(mdfile "$page")" ]; then + if [ ! "$(mdfile "$PATH_INFO")" ]; then theme_error 404 - elif ! acl_read "$page"; then + elif ! acl_read "$PATH_INFO"; then theme_error 403 else theme_page "${PATH_INFO}"