X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=index.cgi;h=410e699d63ab9fc7348d1ad94344a7d904bbd060;hp=4f3a10f47c36510a8c649abc4028e8c630f6b9d2;hb=HEAD;hpb=766fa0c3db0db95dff75858caeab75e7fa3d1ef0
diff --git a/index.cgi b/index.cgi
deleted file mode 100755
index 4f3a10f..0000000
--- a/index.cgi
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/zsh
-
-# Copyright 2011 Paul Haensch
-# This file is part of Busy
-#
-# Busy is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Busy is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with Busy. If not, see .
-
-umask=002
-alias _wiki="stx2any --no-template --link-abbrevs --quote -T html"
-
-page=$(egrep -o '(^|&)p=[a-zA-Z0-9/_-]+(&|$)' <<<"${QUERY_STRING}" |sed 's,&,,g;s,p=,,')
-
-[ -z "$LOGIN" ] && LOGIN=false
-[ -z "$DEV" ] && DEV=false
-[ -z "$ADM" ] && ADM=false
-[ -z "$page" ] && page=Home
-
-if (! $LOGIN && egrep -qx "https?://${HTTP_HOST}/(session.cgi\?|write/).*" <<<"${HTTP_REFERER}"); then
- echo -n "Location: http://${HTTP_HOST}/session.cgi?${QUERY_STRING}\n\n"
- exit 0
-fi
-
-echo -n "Content-type: text/html\n\n"
-
-cat <
-
-
-
-
- Busy
-
-
- $([ -r "${page}.css" ] && echo '')
-
-
-
-
-