diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-19 12:34:48 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-19 12:34:48 +0200 |
| commit | 1ada6d94988cc182039c04b21f5209b0dc25e4cb (patch) | |
| tree | 54cb81e40fcd856561c1d5488ad3c6bc8604e299 /php/includes | |
| parent | 6709605ca4712d669ec9b82eb50a2781aa8d2b38 (diff) | |
Introduce mime type file blocking
Diffstat (limited to 'php/includes')
| -rw-r--r-- | php/includes/settings.inc.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/php/includes/settings.inc.php b/php/includes/settings.inc.php index 872fde0..01a0f86 100644 --- a/php/includes/settings.inc.php +++ b/php/includes/settings.inc.php @@ -81,6 +81,13 @@ define('POMF_FILES_LENGTH', 6); */ define('POMF_URL', 'https://i.pantsu.cat/'); + +/* * + * Blocked mime types + * @param string[] $FILTER_MIME blocked mime types + */ +$FILTER_MIME = array("") + /** * Double dot file extensions * |
