diff --git a/writehtml.sh b/writehtml.sh index 642a7be..5bf0217 100644 --- a/writehtml.sh +++ b/writehtml.sh @@ -1,10 +1,7 @@ #! /bin/bash -# Überprüfe: Ist $FILE ein Verzeichniss und enthält es eine index.* ? -# TODO - -# Überprüfe: Datei oder Verzeichniss? +# Check: is it a directory or a file? if [[ "$FILE" == *.php ]]; then export CONTENTTYPE="text/html" . ./httpheaders.sh