diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-01-27 13:59:15 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-01-27 13:59:15 +0100 |
commit | f32827e903ef8d833a6a3249a45bedcaf774e1eb (patch) | |
tree | fcec184493c44dedce4cd8606f10795db260e868 /lib/base.php | |
parent | 308396b770f3b1b41ba31ff0ee889d485b14d14a (diff) | |
download | nextcloud-server-f32827e903ef8d833a6a3249a45bedcaf774e1eb.tar.gz nextcloud-server-f32827e903ef8d833a6a3249a45bedcaf774e1eb.zip |
Ignore GD JPEG warnings
Fixes https://github.com/owncloud/core/issues/21873
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 970eabce6af..56ff1cb8962 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() { |