]> git.plutz.net Git - shellwiki/blobdiff - acl.sh
no code: add comments warning about the mdfile override in translations handler
[shellwiki] / acl.sh
diff --git a/acl.sh b/acl.sh
index 0ba66631d40c6709e1b59ee2e41f6dfde4167cc0..1b25d5ec78c93d7c33006aad9a0a329f7f9f3cb4 100755 (executable)
--- a/acl.sh
+++ b/acl.sh
@@ -29,6 +29,8 @@ acl_collect(){
     [ "$path" = / ] && break
     path="${path%/*/}/"
 
+    # Do not use `mdfile` function here because of specialties
+    # in translation handler (`handlers/10_translations.sh`)
     if   [ -f "$_DATA/pages/$path/#page.md" ]; then
       pagefile="$_DATA/pages/$path/#page.md"
     elif [ -f "$_EXEC/pages/$path/#page.md" ]; then