X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=file.sh;h=06f28d02f5640abfbfd560641348e8c8e8cd6e22;hp=9f734c1d2dc2e1f33619d5cbe820c5c011221cc9;hb=40c5373a1f5eb710635f340e88c31f8c9dfedfeb;hpb=a96b0fcd8fb4afad4e169a3929270e2335cf4d0d diff --git a/file.sh b/file.sh index 9f734c1..06f28d0 100755 --- a/file.sh +++ b/file.sh @@ -17,6 +17,9 @@ # You should have received a copy of the GNU Affero General Public License # along with cgilite. If not, see . +[ -n "$include_fileserve" ] && return 0 +include_fileserve="$0" + file_type(){ case ${1##*.} in html|html) printf 'text/html';;