X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/6395a340d3462f5732f07b8f34e9f76173a202d7..249f5f73101449bcda4b4fdcbc549946f0d938c5:/lib/functions.js.php diff --git a/lib/functions.js.php b/lib/functions.js.php index 29d50c1..3574891 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 classic upload is enabled through config! + return false; + return window.File && window.FileReader && window.FileList && window.Blob; }