]> git.plutz.net Git - shellwiki/blobdiff - index.cgi
remove debug output
[shellwiki] / index.cgi
index 76f1bef6a0062b6e71e6191a3feeb74bd990a7c2..6f71a4b6aaa54ea0a7538c08c813a65f55c159d7 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -1,7 +1,6 @@
 #!/bin/sh
 
 . "${_EXEC:-${0%/*}}/cgilite/cgilite.sh"
-set -- nocookie
 . "${_EXEC}/cgilite/session.sh"
 . "${_EXEC}/cgilite/file.sh"
 . "${_EXEC}/cgilite/users.sh"
@@ -79,6 +78,8 @@ attachment() {
   fi
 }
 
+. "$_EXEC/page_edit.sh"
+
 case "${PATH_INFO}" in
   /"[.]"/*)
     FILE "${_EXEC}/${PATH_INFO#/\[.\]}"
@@ -91,9 +92,6 @@ case "${PATH_INFO}" in
       theme_404
     fi
     ;;
-  */"[edit]")
-    theme_editor "${PATH_INFO%\[edit\]}"
-    ;;
   */"[login]")
     [ "$USER_NAME" ] \
     && REDIRECT "./" \