Ignore GD JPEG warnings

Fixes https://github.com/owncloud/core/issues/21873
This commit is contained in:
Lukas Reschke 2016-01-27 13:59:15 +01:00
parent 308396b770
commit f32827e903

View file

@ -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() {