summaryrefslogtreecommitdiff
path: root/ext/apache/apache.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>1999-12-21 19:40:27 +0000
committerAndrei Zmievski <andrei@php.net>1999-12-21 19:40:27 +0000
commitcc205c60ae1a886db40d493651b0d766f4645899 (patch)
tree53cf4bbed0987d962b030e11299f6ac9f8e10329 /ext/apache/apache.c
parent99b83a38deb0101321c67fa46d0d8b2824ab5a5d (diff)
downloadphp-git-cc205c60ae1a886db40d493651b0d766f4645899.tar.gz
Correct PHP's mime type.
Diffstat (limited to 'ext/apache/apache.c')
-rw-r--r--ext/apache/apache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/apache/apache.c b/ext/apache/apache.c
index f5d9c38c5e..2cd9e9fa89 100644
--- a/ext/apache/apache.c
+++ b/ext/apache/apache.c
@@ -297,7 +297,7 @@ PHP_FUNCTION(virtual)
/* Cannot include another PHP file because of global conflicts */
if (rr->content_type &&
- !strcmp(rr->content_type, PHP3_MIME_TYPE)) {
+ !strcmp(rr->content_type, PHP_MIME_TYPE)) {
php_error(E_WARNING, "Cannot include a PHP file "
"(use <code>&lt;?include \"%s\"&gt;</code> instead)", (*filename)->value.str.val);
if (rr) destroy_sub_req (rr);