From a8f7a435d2f4f064f9937d7c41f5654236f002d1 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Mon, 20 Jun 2016 12:52:03 +1000 Subject: Rework mime type blocking --- php/includes/settings.inc.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'php/includes/settings.inc.php') diff --git a/php/includes/settings.inc.php b/php/includes/settings.inc.php index f8c78cb..0695981 100644 --- a/php/includes/settings.inc.php +++ b/php/includes/settings.inc.php @@ -85,20 +85,13 @@ define('POMF_URL', 'https://i.pantsu.cat/'); * Blocked mime types * @param string[] $FILTER_MIME blocked mime types */ -$FILTER_MIME = array("") - -/** - * Whitelisted mime types - * @param bool $WHIELIST to enable whitelist of mime types - */ - -define('WHITELSIST', false); +$FILTER_MIME = array(""); /** * Whitelisted mime types * @param string[] $WHITELIST_MIME_MIME allowed mime types */ -$WHITELIST_MIME = array("") +$WHITELIST_MIME = array(""); /** * Double dot file extensions -- cgit v1.2.3