X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/d9c69f9b8fa039888cd23e53c040df0e8ca8e56c..249f5f73101449bcda4b4fdcbc549946f0d938c5:/lib/functions.js.php diff --git a/lib/functions.js.php b/lib/functions.js.php index 4e95747..3574891 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -480,8 +480,8 @@ function classic_upload (file, time, password, one_time) function check_html5_file_api () { - // Enforce legacy upload is enabled through config! + if (isset($cfg['debug_enforce_classic_upload']) && $cfg['debug_enforce_classic_upload']) { ?> + // Enforce classic upload is enabled through config! return false;