diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-06-15 14:00:18 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-06-15 14:00:18 +0200 |
commit | c0efb06ee6aa1fcd8e5a2907ce71ba694626e4f4 (patch) | |
tree | b2dcedd676dafbde308bab5dcd3af5ae9c307fe5 /ext/standard/php_fopen_wrapper.c | |
parent | 334db3b9216446ae4920d229c6d51ce8eab85f26 (diff) | |
download | php-git-c0efb06ee6aa1fcd8e5a2907ce71ba694626e4f4.tar.gz |
Change default gd.jpeg_ignore_warning = 1
Ignoring these warnings apparently works fine (libgd does so in
gdImageCreateJpeg()), but not ignoring them may cause imagecreatefromjpeg()
to fail completely, so it seems reasonable to ignore warnings by default.
Note that this change most likely doesn't constitute a BC break; we're
simply being more resilient with regard to slightly broken JPEGs.
See also the related [bug #72404](https://bugs.php.net/bug.php?id=72404).
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
0 files changed, 0 insertions, 0 deletions