1
0
Fork 0
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:
niansa 2019-01-11 16:27:17 +00:00
parent 6352d21192
commit 9e75ddabf2

View file

@ -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"