]> granicus.if.org Git - php/commitdiff
remove ob_end_clean() and instead use ini section
authorMarcus Boerger <helly@php.net>
Tue, 15 Oct 2002 00:35:05 +0000 (00:35 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 15 Oct 2002 00:35:05 +0000 (00:35 +0000)
#Derick you're right this was no good idea. I just left it over after testing
#the test.

ext/exif/tests/002.phpt

index d52ba67e538f0de43b0daf73703c581742c331c8..6bc0bee4633337a4760403e88fed19c9451254a6 100644 (file)
@@ -4,6 +4,8 @@ Check for exif_thumbnail
 <?php if (!extension_loaded("exif")) print "skip";?>
 --INI--
 magic_quotes_runtime=0
+output_handler = 
+zlib.output_compression = Off 
 --FILE--
 <?php
 /*
@@ -11,7 +13,6 @@ magic_quotes_runtime=0
   test2.jpg is the same image but contains Exif/Comment information and a
             copy of test1.jpg as a thumbnail.
 */
-if (function_exists("ob_end_clean")) ob_end_clean();
 $infile= './ext/exif/tests/test1.jpg';
 $fp    = fopen($infile,'rb');
 $image = fread($fp,filesize($infile));