Merge pull request #21950 from owncloud/ignore-gd-jped-warnings
Ignore GD JPEG warnings
This commit is contained in:
commit
05bff25cf3
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue