]> git.plutz.net Git - shellwiki/blobdiff - index.cgi
basic locking and editing
[shellwiki] / index.cgi
index 76f1bef6a0062b6e71e6191a3feeb74bd990a7c2..2d4954f0c4cc55a1b3778fbebac4f00579afd965 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -79,6 +79,8 @@ attachment() {
   fi
 }
 
+. "$_EXEC/page_edit.sh"
+
 case "${PATH_INFO}" in
   /"[.]"/*)
     FILE "${_EXEC}/${PATH_INFO#/\[.\]}"
@@ -91,9 +93,6 @@ case "${PATH_INFO}" in
       theme_404
     fi
     ;;
-  */"[edit]")
-    theme_editor "${PATH_INFO%\[edit\]}"
-    ;;
   */"[login]")
     [ "$USER_NAME" ] \
     && REDIRECT "./" \