diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-20 04:52:03 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-20 04:52:03 +0200 |
| commit | a8f7a435d2f4f064f9937d7c41f5654236f002d1 (patch) | |
| tree | 8880f64765e0e0267ca6aab5105fe42a6e9469f2 /php/includes | |
| parent | 4decebe30f04fb42d6f0182b5584067a5ae28f44 (diff) | |
Rework mime type blocking
Diffstat (limited to 'php/includes')
| -rw-r--r-- | php/includes/settings.inc.php | 11 |
1 files changed, 2 insertions, 9 deletions
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 |
