X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/97971a35ce678939f577c4fc44c054ef98c72f0b..2a1d4d84d7ad3dd1ae11629ca0411fdd20cb6cb4:/lib/functions.js.php diff --git a/lib/functions.js.php b/lib/functions.js.php index 29d50c1..4e95747 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -479,6 +479,13 @@ function classic_upload (file, time, password, one_time) function check_html5_file_api () { + + // Enforce legacy upload is enabled through config! + return false; + return window.File && window.FileReader && window.FileList && window.Blob; }