mirror of
https://github.com/php/php-src.git
synced 2024-12-01 22:03:36 +08:00
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.
This commit is contained in:
parent
f0664706c9
commit
d396d9c7ce
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user