mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Update writehtml.sh
This commit is contained in:
parent
2dddace612
commit
15a8ff1c09
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# Überprüfe: Ist $FILE ein Verzeichniss und enthält es eine index.* ?
|
|
||||||
# TODO
|
|
||||||
|
|
||||||
|
# Check: is it a directory or a file?
|
||||||
# Überprüfe: Datei oder Verzeichniss?
|
|
||||||
if [[ "$FILE" == *.php ]]; then
|
if [[ "$FILE" == *.php ]]; then
|
||||||
export CONTENTTYPE="text/html"
|
export CONTENTTYPE="text/html"
|
||||||
. ./httpheaders.sh
|
. ./httpheaders.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue