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

Update sendfile.sh

This commit is contained in:
niansa 2018-07-03 16:27:02 +00:00
parent 52e63d6f90
commit 232abbb467

View file

@ -1,6 +1,6 @@
#! /bin/bash
# Überprüfe: Muss eine Dateiliste ausgegeben werden? Ist es ein PHP-script?
# Check: Is it a Directory, a PHP script or something else?
if [[ "$FILE" == *.php ]]; then
CONTENTTYPE="text/html"
. ./httpheaders.sh