summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakpu1 <akpu1@inventati.org>2016-06-20 16:30:58 +0200
committerGitHub <noreply@github.com>2016-06-20 16:30:58 +0200
commitd289e42fa25eee1684d169788614a22a7e556d4b (patch)
tree7745082c978daa8952aaeecfe08f0c490e37b799
parentfc60a53e8a0d58d23716c6a15cc48daad5a3f584 (diff)
Removed WHITELIST_MIME; added FILTER_MODE
as per clsr's suggestion
-rw-r--r--php/includes/settings.inc.php12
1 files changed, 5 insertions, 7 deletions
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
*