diff options
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index f5890ba8a9..2ae7dca282 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -312,15 +312,6 @@ PHP_FUNCTION(virtual) RETURN_FALSE; } - /* Cannot include another PHP file because of global conflicts */ - if (rr->content_type && - !strcmp(rr->content_type, PHP_MIME_TYPE)) { - php_error(E_WARNING, "Cannot include a PHP file " - "(use <code><?include \"%s\"></code> instead)", (*filename)->value.str.val); - if (rr) destroy_sub_req (rr); - RETURN_FALSE; - } - php_end_ob_buffers(1); php_header(); |