From 4ed55d59e36cbc9d2b9c2d221806a56b8bbe8af7 Mon Sep 17 00:00:00 2001 From: Mikael Roos Date: Thu, 21 Aug 2014 02:30:32 +0200 Subject: [PATCH] finally setting jpeg_ignore_warning to true #34 --- webroot/img_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/img_config.php b/webroot/img_config.php index 2f0853e..a6acfe5 100644 --- a/webroot/img_config.php +++ b/webroot/img_config.php @@ -103,6 +103,6 @@ return array( ini_set('display_errors', 1); // Display all errors ini_set('output_buffering', 0); // Do not buffer outputs, write directly set_time_limit(20); - ini_set('gd.jpeg_ignore_warning', 0); // Ignore warning of corrupt jpegs + ini_set('gd.jpeg_ignore_warning', 1); // Ignore warning of corrupt jpegs }, );