From f32827e903ef8d833a6a3249a45bedcaf774e1eb Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 27 Jan 2016 13:59:15 +0100 Subject: [PATCH] Ignore GD JPEG warnings Fixes https://github.com/owncloud/core/issues/21873 --- lib/base.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/base.php b/lib/base.php index 970eabce6a..56ff1cb896 100644 --- a/lib/base.php +++ b/lib/base.php @@ -473,6 +473,7 @@ class OC { */ public static function setRequiredIniValues() { @ini_set('default_charset', 'UTF-8'); + @ini_set('gd.jpeg_ignore_warning', 1); } public static function init() {