From c05fb5b7171f1d2b444f7aee9fce912af52d5e72 Mon Sep 17 00:00:00 2001 From: "Eric Johansson (neku)" Date: Tue, 22 Jun 2021 20:18:56 +0200 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea0e7f8..24232d2 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,19 @@ If you don't need a detailed one just follow the instructions below. define('CONFIG_BLOCKED_EXTENSIONS', serialize(['exe', 'scr', 'com', 'vbs', 'bat', 'cmd', 'htm', 'html', 'jar', 'msi', 'apk', 'phtml', 'svg'])); define('CONFIG_BLOCKED_MIME', serialize(['application/msword', 'text/html', 'application/x-dosexec', 'application/java', 'application/java-archive', 'application/x-executable', 'application/x-mach-binary', 'image/svg+xml'])); ``` +By default the most common malicious filetypes are blocked. - By default the most common malicious filetypes are blocked. + ## IP logging + This is turned off by default, but you can enable it by changing: + ```php + define('LOG_IP', 'false'); +``` + +## Anti dupe +This is turned off by default, if a user uploads a file already uploaded the link to the already existing file will be returned instead. + ```php + define('ANTI_DUPE', 'false'); +``` ## Using SQLite as DB engine