Changeset 727856
- Timestamp:
- 06/18/2013 10:56:03 AM (13 years ago)
- Location:
- wponlinebackup/trunk
- Files:
-
- 2 edited
-
include/bootstrap.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wponlinebackup/trunk/include/bootstrap.php
r726630 r727856 2638 2638 $this->Load_Status(); 2639 2639 2640 // Clear any data we have in any WordPress buffers - should not get much due to POST but just in case 2641 $this->_Clear_Output_Buffers(); 2642 2643 // Avoid timeouts and do not ignore a client abort 2644 @set_time_limit( 0 ); 2645 @ignore_user_abort( false ); 2646 2647 // Turn off HTML errors to try and ensure the data stream doesn't get tainted by any 2648 ini_set( 'display_errors', 0 ); 2649 ini_set( 'html_errors', 0 ); 2650 2640 2651 // Check we have a backup running 2641 2652 if ( $this->status['status'] != WPONLINEBACKUP_STATUS_RUNNING && $this->status['status'] != WPONLINEBACKUP_STATUS_TICKING && $this->status['status'] != WPONLINEBACKUP_STATUS_CHECKING ) … … 2646 2657 return $this->_Pull_Failure( 'OBFWRI2' ); 2647 2658 2648 // We may replace all this with WPOnlineBackup_HTTP_Range at some point... 2649 2650 // Grab the variables - we are safe to assume wponlinebackup_fetch exists in one of _GET and _POST as we don't call this function unless it does 2659 // Grab the variables 2651 2660 $nonce = isset( $_GET['wponlinebackup_fetch'] ) ? strval( $_GET['wponlinebackup_fetch'] ) : strval( $_POST['wponlinebackup_fetch'] ); 2652 2661 $which = isset( $_GET['which'] ) ? strval( $_GET['which'] ) : ( isset( $_POST['which'] ) ? strval( $_POST['which'] ) : '' ); … … 2677 2686 } 2678 2687 2679 // Clear any data we have in any WordPress buffers - should not get much due to POST but just in case2680 $this->_Clear_Output_Buffers();2681 2682 // Avoid timeouts and do not ignore a client abort2683 @set_time_limit( 0 );2684 @ignore_user_abort( false );2685 2686 // Turn off HTML errors to try and ensure the data stream doesn't get tainted by any2687 ini_set( 'display_errors', 0 );2688 ini_set( 'html_errors', 0 );2689 2690 2688 // Send through a content-type header to stop any CDN or rogue plugin modifying our binary stream 2691 2689 // We had an instance where 0x09 (tab) was getting replaced with 0x20 (space), corrupting the data stream -
wponlinebackup/trunk/readme.txt
r724954 r727856 89 89 * Multisite: "Must Use" compatibile: Extract the plugin and you'll find some information on how to use the plugin with the "Must Use" feature within "wponlinebackup/wponlinebackup-mu.php" 90 90 * Added measures to prevent "Too many open files" errors 91 * Implement Online Backup retrieve retries 91 92 * Improve handling, and reporting, of low memory situations 92 93 * Minor tweaks and fixes
Note: See TracChangeset
for help on using the changeset viewer.