summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-27 16:15:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-27 16:15:38 +0100
commit05bff25cf3611837da86ea68d050d070cc0a4213 (patch)
treefcec184493c44dedce4cd8606f10795db260e868
parent308396b770f3b1b41ba31ff0ee889d485b14d14a (diff)
parentf32827e903ef8d833a6a3249a45bedcaf774e1eb (diff)
downloadnextcloud-server-05bff25cf3611837da86ea68d050d070cc0a4213.tar.gz
nextcloud-server-05bff25cf3611837da86ea68d050d070cc0a4213.zip
Merge pull request #21950 from owncloud/ignore-gd-jped-warnings
Ignore GD JPEG warnings
-rw-r--r--lib/base.php1
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() {