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:
parent
52e63d6f90
commit
232abbb467
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue