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
6352d21192
commit
9e75ddabf2
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#! /bin/bash
|
||||
|
||||
# TODO: Create a Plugin system
|
||||
# Check: Is it a Directory, a PHP script or something else?
|
||||
if [[ "$FILE" == *.php ]] && [ "$(which php)" != "" ] && [ "$ENABLE_PHP" = "true" ]; then
|
||||
CONTENTTYPE="text/html"
|
||||
|
|
Loading…
Add table
Reference in a new issue