X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=index.cgi;h=6f71a4b6aaa54ea0a7538c08c813a65f55c159d7;hb=ff2e30ac4a6ed701b95e1783a1c482cabb9d8876;hp=76f1bef6a0062b6e71e6191a3feeb74bd990a7c2;hpb=b2c5e68fd567ad46143e70254c95f5b1050c8ed0;p=shellwiki diff --git a/index.cgi b/index.cgi index 76f1bef..6f71a4b 100755 --- 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 "./" \