diff --git a/sendfile.sh b/sendfile.sh index a031e25..6b540ec 100644 --- a/sendfile.sh +++ b/sendfile.sh @@ -1,7 +1,7 @@ #! /bin/bash # Check: Is it a Directory, a PHP script or something else? -if [[ "$FILE" == *.php ]] && [[ "$(which php)" != "" ]] && [[ "$ENABLE_PHP" = "true" ]]; then +if [[ "$FILE" == *.php ]] && [ "$(which php)" != "" ] && [ "$ENABLE_PHP" = "true" ]; then CONTENTTYPE="text/html" . ./httpheaders.sh php "$FILE" >> $OUTFILE