]> git.p6c8.net - jirafeau/jirafeau.git/commitdiff
Renamed cfg option debug_enforce_legacy_upload to debug_enforce_classic_upload
authorPatrick Canterino <patrick@patrick-canterino.de>
Sun, 31 May 2026 13:30:50 +0000 (15:30 +0200)
committerPatrick Canterino <patrick@patrick-canterino.de>
Sun, 31 May 2026 13:32:40 +0000 (15:32 +0200)
lib/config.original.php
lib/functions.js.php

index e77684bda429dd0c3e8c54a6ff738b119e6382c9..37c87ebc573d6d6db4637d2c815c658980291c5c 100644 (file)
@@ -235,9 +235,9 @@ $cfg['installation_done'] = false;
  */
 $cfg['debug'] = false;
 
  */
 $cfg['debug'] = false;
 
-/* Enable this debug flag to enforce the legacy (synchronous) file upload mechanism.
+/* Enable this debug flag to enforce the classic (synchronous) file upload mechanism.
  */
  */
-$cfg['debug_enforce_legacy_upload'] = false;
+$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.
 
 /* Set Jirafeau's maximal upload chunk
  * When Jirafeau upload a large file, Jirafeau sends several data chunks to fit server's capabilities.
index 4e957475580fa880e86479a21f2fe864651b0473..35748916e76b7a1e60d89f376798be1fb58bd90a 100644 (file)
@@ -480,8 +480,8 @@ function classic_upload (file, time, password, one_time)
 function check_html5_file_api ()
 {
 <?php
 function check_html5_file_api ()
 {
 <?php
-    if (isset($cfg['debug_enforce_legacy_upload']) && $cfg['debug_enforce_legacy_upload']) { ?>
-    // 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;
 <?php
     }
     return false;
 <?php
     }

patrick-canterino.de