summaryrefslogtreecommitdiff
path: root/ext/cpdf
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-02-15 14:49:01 +0000
committerThies C. Arntzen <thies@php.net>2001-02-15 14:49:01 +0000
commit8499b430cff13387bc2f6232f184db506cefe52f (patch)
treec0f900041ef36296dbe738aa6dbfa7473c738a8b /ext/cpdf
parent5ca813a5649bf59c2eee599f7c423a44d19e5cf4 (diff)
downloadphp-git-8499b430cff13387bc2f6232f184db506cefe52f.tar.gz
@- Fixed some modules to allow using output-buffering. (Thies)
i nuked all unneded calls to php_header() - i'm not too sure how we do handle HEAD Requests as they were only detected via php_header(). but calling php_header from a module makes output-buffering unusable. NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
Diffstat (limited to 'ext/cpdf')
-rw-r--r--ext/cpdf/cpdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/cpdf/cpdf.c b/ext/cpdf/cpdf.c
index 5bf8ea2900..0e32963872 100644
--- a/ext/cpdf/cpdf.c
+++ b/ext/cpdf/cpdf.c
@@ -2226,7 +2226,7 @@ PHP_FUNCTION(cpdf_output_buffer) {
}
buffer = cpdf_getBufferForPDF(pdf, &lenght);
- php_header();
+
php_write(buffer, lenght);
RETURN_TRUE;