diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 16:45:34 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 16:45:34 +1100 |
| commit | d7f32670c52ce8308d3d1966cf702ab63d795162 (patch) | |
| tree | b0fc3818d96fb0c9212fb8ec4485263e2a7d6adf /inc/config.php | |
| parent | 5a17cfd886dd5457006d373d2b4746061556ac12 (diff) | |
non-image file icons
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/inc/config.php b/inc/config.php index 3eac19d5..b2f4e7c8 100644 --- a/inc/config.php +++ b/inc/config.php @@ -35,7 +35,9 @@ 'custom_tripcode' => Array(), 'dnsbl' => Array(), 'dnsbl_exceptions' => Array(), - 'remote' => Array() + 'remote' => Array(), + 'allowed_ext_files' => Array(), + 'file_icons' => Array() ); /* @@ -326,14 +328,18 @@ $config['ie_mime_type_detection'] = '/<(?:body|head|html|img|plaintext|pre|script|table|title|a href|channel|scriptlet)/i'; // Allowed image file extensions - $config['allowed_ext'] = Array('jpg', 'jpeg', 'bmp', 'gif', 'png'); // $config['allowed_ext'][] = 'svg'; // Allowed additional file extensions (not images; downloadable files) - $config['allowed_ext_files'] = Array(); + // $config['allowed_ext_files'][] = 'txt'; + // $config['allowed_ext_files'][] = 'zip'; + + // Non-image file icons + $config['file_icons']['default'] = 'file.png'; + $config['file_icons']['zip'] = 'zip.png'; // Thumbnail to use for the downloadable files (not images) - $config['file_thumb'] = 'static/file.png'; + $config['file_thumb'] = 'static/%s'; // Thumbnail to use for spoiler images $config['spoiler_image'] = 'static/spoiler.png'; |
