diff options
author | Zeev Suraski <zeev@php.net> | 2001-05-07 11:07:22 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-05-07 11:07:22 +0000 |
commit | d229f82a46055e86395f477e3b5754a3bdf215c5 (patch) | |
tree | 0555636b3995615ab8ced95229f1f52c8be4c9dc /sapi/apache/php_apache.c | |
parent | 21ec6e29932706f090880c1f207ffd68a5b8db40 (diff) | |
download | php-git-d229f82a46055e86395f477e3b5754a3bdf215c5.tar.gz |
Allow virtual() of PHP files. We may have to improve the detection code a
bit, but it worked well on everything I tried.
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(); |