summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-21 15:50:45 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-21 15:50:45 -0400
commit308f557fd503898406d7cb54ef7e6e6efb0f84ae (patch)
treec42fa4b237309168d895aa72d60e3b1b40ffeeac /inc/config.php
parente8b693b0447e5a61f740b27c5f3a57f68d544342 (diff)
Option to automatically strip EXIF metadata from JPEGs
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 424d07d6..c2a68e6c 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -418,6 +418,9 @@
// - 'convert' The command line version of ImageMagick (`convert`). Fixes most of the bugs in PHP Imagick.
$config['thumb_method'] = 'gd';
+ // Strip EXIF metadata from JPEG files
+ $config['strip_exif'] = false;
+
// Regular expression to check for IE MIME type detection XSS exploit. To disable, comment the line out
// https://github.com/savetheinternet/Tinyboard/issues/20
$config['ie_mime_type_detection'] = '/<(?:body|head|html|img|plaintext|pre|script|table|title|a href|channel|scriptlet)/i';