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
d3bc9d4edb
commit
16ed196e0f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [[ "$FILE" == *.php ]]; then
|
|||
. ./httpheaders.sh
|
||||
php "$FILE" >> $OUTFILE
|
||||
elif [ -f "${FILE}" ]; then
|
||||
CONTENTTYPE=$(file -b -i "$file")
|
||||
CONTENTTYPE=$(file -b -i "$FILE")
|
||||
. ./httpheaders.sh
|
||||
cat "${FILE}" >> ${OUTFILE}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue