mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Delete writehtml.sh
This commit is contained in:
parent
a601aba795
commit
cc3734e2f1
1 changed files with 0 additions and 17 deletions
17
writehtml.sh
17
writehtml.sh
|
@ -1,17 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
|
||||
# Check: is it a directory or a file?
|
||||
if [[ "$FILE" == *.php ]]; then
|
||||
export CONTENTTYPE="text/html"
|
||||
. ./httpheaders.sh
|
||||
php "$FILE" >> $HTMLFILE
|
||||
elif [ -f "${FILE}" ]; then
|
||||
export CONTENTTYPE="$DEFAULTCONTENT"
|
||||
. ./httpheaders.sh
|
||||
cat "${FILE}" >> ${HTMLFILE}
|
||||
else
|
||||
export CONTENTTYPE="text/html"
|
||||
. ./httpheaders.sh
|
||||
. ./filelist.sh
|
||||
fi
|
Loading…
Add table
Reference in a new issue