thumb: catch php errors during (gd) resize
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 6 Jul 2018 22:16:26 +0000 (00:16 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 7 Jul 2018 11:42:39 +0000 (13:42 +0200)
commitc7b3d1c8dddb7c64b15ec7bcec2f2e3b9c9cbfb6
treef839bf895a12742d188f80e5b697fe0f6b6601e5
parente5da0ad603c58c2dd86581e35d6e1a60c0ae2e7d
thumb: catch php errors during (gd) resize

Image response if GD fails on PHP 7, making it behave identical to exec.
Incompatible with PHP 5, where it will show a generic html error page,
regressing for convert exceptions.
thumb/index.php