summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 9398596c..1474bd46 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -102,7 +102,7 @@
// Use a persistent connection (experimental)
$config['db']['persistent'] = false;
// Anything more to add to the DSN string (eg. port=xxx;foo=bar)
- $config['db']['dsn'] = '';
+ $config['db']['dsn'] = 'charset=UTF-8';
// Timeout duration in seconds (not all drivers support this)
$config['db']['timeout'] = 5;
@@ -363,6 +363,9 @@
// Use Imagick instead of GD (some further config options below are ignored if set)
$config['imagick'] = false;
+ // Use the command line version of ImagickMagick rather than the PHP bindings.
+ $config['imagick_convert'] = 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';