cvs: php4 /ext/exif/tests 002.phpt
| From: | Marcus B�rger | Date: | Tue, 15 Oct 2002 00:35:06 +0000 |
| Subject: | cvs: php4 /ext/exif/tests 002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14923@lists.php.net to get a copy of this message | ||
helly Mon Oct 14 20:35:06 2002 EDT
Modified files:
/php4/ext/exif/tests 002.phpt
Log:
remove ob_end_clean() and instead use ini section
#Derick you're right this was no good idea. I just left it over after testing
#the test.
Index: php4/ext/exif/tests/002.phpt
diff -u php4/ext/exif/tests/002.phpt:1.3 php4/ext/exif/tests/002.phpt:1.4
--- php4/ext/exif/tests/002.phpt:1.3 Sun Aug 25 14:48:46 2002
+++ php4/ext/exif/tests/002.phpt Mon Oct 14 20:35:05 2002
@@ -4,6 +4,8 @@
<?php if (!extension_loaded("exif")) print "skip";?>
--INI--
magic_quotes_runtime=0
+output_handler =
+zlib.output_compression = Off
--FILE--
<?php
/*
@@ -11,7 +13,6 @@
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));