From 1ada6d94988cc182039c04b21f5209b0dc25e4cb Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Sun, 19 Jun 2016 20:34:48 +1000 Subject: Introduce mime type file blocking --- php/includes/settings.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'php/includes') 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 * -- cgit v1.2.3