Plugin Directory

Changeset 3343837


Ignore:
Timestamp:
08/13/2025 12:31:49 AM (6 months ago)
Author:
wpvivid
Message:

Update for backup free 0.9.118 trunk

Location:
wpvivid-backuprestore/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpvivid-backuprestore/trunk/includes/class-wpvivid.php

    r3264775 r3343837  
    29682968                        }
    29692969
     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);
    29702978                        if ($size < 1024 * 1024 * 60) {
    2971                             ob_end_clean();
    29722979                            readfile($path);
    29732980                            exit;
    29742981                        } else {
    2975                             ob_end_clean();
    2976                             $download_rate = 1024 * 10;
    2977                             $file = fopen($path, "r");
     2982                            $file = fopen($path, "rb");
    29782983                            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                                }
    29842992                                flush();
    2985                                 // sleep one second
    2986                                 sleep(1);
    29872993                            }
    29882994                            fclose($file);
  • wpvivid-backuprestore/trunk/wpvivid-backuprestore.php

    r3320877 r3343837  
    88 * Plugin Name:       WPvivid Backup Plugin
    99 * 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.117
     10 * Version:           0.9.118
    1111 * Author:            WPvivid Backup & Migration
    1212 * Author URI:        https://wpvivid.com
     
    2222}
    2323
    24 define( 'WPVIVID_PLUGIN_VERSION', '0.9.117' );
     24define( 'WPVIVID_PLUGIN_VERSION', '0.9.118' );
    2525//
    2626define('WPVIVID_RESTORE_INIT','init');
Note: See TracChangeset for help on using the changeset viewer.