Merge pull request #21950 from owncloud/ignore-gd-jped-warnings

Ignore GD JPEG warnings
This commit is contained in:
Thomas Müller 2016-01-27 16:15:38 +01:00
commit 05bff25cf3
1 changed files with 1 additions and 0 deletions

View File

@ -473,6 +473,7 @@ class OC {
*/ */
public static function setRequiredIniValues() { public static function setRequiredIniValues() {
@ini_set('default_charset', 'UTF-8'); @ini_set('default_charset', 'UTF-8');
@ini_set('gd.jpeg_ignore_warning', 1);
} }
public static function init() { public static function init() {