1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Add files via upload

This commit is contained in:
niansa 2017-05-27 11:33:49 +02:00 committed by GitHub
parent 80f587b1c5
commit da5f93dc49

View file

@ -6,7 +6,7 @@
# Überprüfe: Datei oder Verzeichniss?
if [[ "$FILE" == *.php ]]; then
export CONTENTTYPE="html"
export CONTENTTYPE="text/html"
. ./httpheaders.sh
php "$FILE" >> $HTMLFILE
elif [ -f "${FILE}" ]; then
@ -14,7 +14,7 @@ elif [ -f "${FILE}" ]; then
. ./httpheaders.sh
cat "${FILE}" >> ${HTMLFILE}
else
export CONTENTTYPE="html"
export CONTENTTYPE="text/html"
. ./httpheaders.sh
. ./htmlfilelist.sh
fi