From d289e42fa25eee1684d169788614a22a7e556d4b Mon Sep 17 00:00:00 2001 From: akpu1 Date: Tue, 21 Jun 2016 00:30:58 +1000 Subject: Removed WHITELIST_MIME; added FILTER_MODE as per clsr's suggestion --- php/includes/settings.inc.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'php') diff --git a/php/includes/settings.inc.php b/php/includes/settings.inc.php index 19a3987..6e70569 100644 --- a/php/includes/settings.inc.php +++ b/php/includes/settings.inc.php @@ -90,17 +90,15 @@ define('ID_CHARSET', 'abcdefghijklmnopqrstuvwxyz'); /** - * Blocked mime types - * @param string[] $FILTER_MIME blocked mime types + * Filtered mime types + * @param string[] $FILTER_MIME allowed/blocked mime types */ $FILTER_MIME = array(""); - /** - * Whitelisted mime types - * @param string[] $WHITELIST_MIME_MIME allowed mime types + * Filter mode: whitelist (true) or blacklist (false) + * @param bool $FILTER_MODE mime type filter mode */ -$WHITELIST_MIME = array(""); - +$FILTER_MODE = false; /** * Double dot file extensions * -- cgit v1.2.3