]> git.plutz.net Git - shellwiki/commitdiff
includes per handler
authorPaul Hänsch <paul@plutz.net>
Thu, 19 May 2022 14:35:35 +0000 (16:35 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 19 May 2022 14:35:35 +0000 (16:35 +0200)
handlers/20_attachment.sh
handlers/30_newpage.sh

index 1cf4c53eb2f92b5027068447358a7167a19dd51d..983cc7ee043e38bc87db4898d63be355a7e036e2 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+. "$_EXEC/cgilite/file.sh"
+
 attachment_convert(){
   local attpath="$1"
   local cachepath="${attpath%/#attachments/*}/#cache/${attpath#*/#attachments/}"
index ad9f7eb72dc802e9facdf9612d8c8e5041626d05..f3cbde7fa464a867eda5f1852aebf775dfd3a770 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+. "$_EXEC/session_lock.sh"
+
 case $PATH_INFO in
   */\[newpage\]):;;
   *) return 1;;