summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-09-12 21:07:53 +0000
committerZeev Suraski <zeev@php.net>1999-09-12 21:07:53 +0000
commitce5a09ea4047c0716aef948a52fcdec754fc8f4f (patch)
tree2b417b77db3fe840d2853ba145876b39ebdf4afd /main/SAPI.h
parent9e3315799c3a654360d432459f3b0c7d152ea4ec (diff)
downloadphp-git-ce5a09ea4047c0716aef948a52fcdec754fc8f4f.tar.gz
Add PHP-Version header in IIS
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 2b99498831..fa9b0c6eab 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -150,7 +150,8 @@ struct _sapi_module_struct {
#define SAPI_HEADER_DO_SEND 2
#define SAPI_HEADER_SEND_FAILED 3
-#define SAPI_DEFAULT_CONTENT_TYPE "Content-Type: text/html"
+#define SAPI_DEFAULT_CONTENT_TYPE "Content-Type: text/html"
+#define SAPI_PHP_VERSION_HEADER "PHP-Version: " PHP_VERSION
#define SAPI_POST_READER_FUNC(post_reader) void post_reader(char *content_type_dup SLS_DC)