X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=handlers%2F90_brackets.sh;fp=handlers%2F90_brackets.sh;h=b6b25383f32b4d58e000ac110e3cb0d0b45b64e5;hb=d801cc152985e1639dd009e7a654e5f933766fe3;hp=0000000000000000000000000000000000000000;hpb=e83851d3bdcb41a24687a1579e35dcfa39db4722;p=shellwiki diff --git a/handlers/90_brackets.sh b/handlers/90_brackets.sh new file mode 100755 index 0000000..b6b2538 --- /dev/null +++ b/handlers/90_brackets.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# spacial case for bracket pages that are not handled otherwise +# attachment and edit (and really all) handlers should take precedence + +case "${PATH_INFO}" in + */\[*\]/*) + theme_page "${PATH_INFO}" + return 0 + ;; +esac + +return 1