mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Add files via upload
This commit is contained in:
parent
80f587b1c5
commit
da5f93dc49
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
# Überprüfe: Datei oder Verzeichniss?
|
||||
if [[ "$FILE" == *.php ]]; then
|
||||
export CONTENTTYPE="html"
|
||||
export CONTENTTYPE="text/html"
|
||||
. ./httpheaders.sh
|
||||
php "$FILE" >> $HTMLFILE
|
||||
elif [ -f "${FILE}" ]; then
|
||||
|
@ -14,7 +14,7 @@ elif [ -f "${FILE}" ]; then
|
|||
. ./httpheaders.sh
|
||||
cat "${FILE}" >> ${HTMLFILE}
|
||||
else
|
||||
export CONTENTTYPE="html"
|
||||
export CONTENTTYPE="text/html"
|
||||
. ./httpheaders.sh
|
||||
. ./htmlfilelist.sh
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue