Changeset 3343837
- Timestamp:
- 08/13/2025 12:31:49 AM (6 months ago)
- Location:
- wpvivid-backuprestore/trunk
- Files:
-
- 3 edited
-
includes/class-wpvivid.php (modified) (1 diff)
-
readme.txt (modified) (previous)
-
wpvivid-backuprestore.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpvivid-backuprestore/trunk/includes/class-wpvivid.php
r3264775 r3343837 2968 2968 } 2969 2969 2970 if (ob_get_level() == 0) { 2971 ob_start(); 2972 } 2973 2974 while (ob_get_level() > 0) { 2975 ob_end_clean(); 2976 } 2977 @set_time_limit(20); 2970 2978 if ($size < 1024 * 1024 * 60) { 2971 ob_end_clean();2972 2979 readfile($path); 2973 2980 exit; 2974 2981 } else { 2975 ob_end_clean(); 2976 $download_rate = 1024 * 10; 2977 $file = fopen($path, "r"); 2982 $file = fopen($path, "rb"); 2978 2983 while (!feof($file)) { 2979 @set_time_limit(20); 2980 // send the current file part to the browser 2981 print fread($file, round($download_rate * 1024)); 2982 // flush the content to the browser 2983 ob_flush(); 2984 $buffer = fread($file, 1024 * 1024 * 10); 2985 if ($buffer === false || $buffer === '') { 2986 break; 2987 } 2988 echo $buffer; 2989 if (ob_get_level() > 0) { 2990 ob_flush(); 2991 } 2984 2992 flush(); 2985 // sleep one second2986 sleep(1);2987 2993 } 2988 2994 fclose($file); -
wpvivid-backuprestore/trunk/wpvivid-backuprestore.php
r3320877 r3343837 8 8 * Plugin Name: WPvivid Backup Plugin 9 9 * Description: Clone or copy WP sites then move or migrate them to new host (new domain), schedule backups, transfer backups to leading remote storage. All in one. 10 * Version: 0.9.11 710 * Version: 0.9.118 11 11 * Author: WPvivid Backup & Migration 12 12 * Author URI: https://wpvivid.com … … 22 22 } 23 23 24 define( 'WPVIVID_PLUGIN_VERSION', '0.9.11 7' );24 define( 'WPVIVID_PLUGIN_VERSION', '0.9.118' ); 25 25 // 26 26 define('WPVIVID_RESTORE_INIT','init');
Note: See TracChangeset
for help on using the changeset viewer.