X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/5aa1e87de607c31282dec602978624de9e636cba..refs/heads/bug_classic_download:/lib/config.original.php diff --git a/lib/config.original.php b/lib/config.original.php index d261f68..3af9fc6 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -3,6 +3,7 @@ * Jirafeau, your web file repository * Copyright (C) 2008 Julien "axolotl" BERNARD * Copyright (C) 2015 Jerome Jutteau + * Copyright (C) 2024 Jirafeau project (see AUTHORS.md) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -227,6 +228,11 @@ $cfg['installation_done'] = false; */ $cfg['debug'] = false; +/* Enable this flag to enforce the classic upload without the HTML5 File API + * Only set to "true", if you know what you're doing! + */ +$cfg['debug_enforce_classic_upload'] = false; + /** Set Jirafeau's maximal upload chunk * When Jirafeau upload a large file, Jirafeau sends several data chunks to fit server's capabilities. * Jirafeau tries to upload each data chunk with the maximal size allowed by PHP (post_max_size and upload_max_filesize).