diff --git a/writehtml.sh b/writehtml.sh index ec0a82e..96e5072 100644 --- a/writehtml.sh +++ b/writehtml.sh @@ -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