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
|
||||
|
||||
# Überprüfe: Ist $FILE ein Verzeichniss und enthält es eine index.* ?
|
||||
# TODO
|
||||
|
||||
|
||||
# Überprüfe: Datei oder Verzeichniss?
|
||||
# Check: is it a directory or a file?
|
||||
if [[ "$FILE" == *.php ]]; then
|
||||
export CONTENTTYPE="text/html"
|
||||
. ./httpheaders.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue