Plugin Directory

Changeset 617071


Ignore:
Timestamp:
10/24/2012 11:00:16 PM (13 years ago)
Author:
SangrelX
Message:
 
Location:
wordpress-ez-backup
Files:
54 added
3 edited

Legend:

Unmodified
Added
Removed
  • wordpress-ez-backup/tags/6.0.2/pages/functions.php

    r601720 r617071  
    5858    include $path;
    5959    $url = "http://lastnightsdesigns.com/EZBackupRegisters/accounts/".$key.'_'.$option;
     60   
     61if  (in_array ('curl', get_loaded_extensions())) {
     62     $curl = curl_init($url);
     63     curl_setopt($curl, CURLOPT_NOBODY, true);
     64     $result = curl_exec($curl);
     65        if ($result !== false) {
     66          $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
     67              if ($statusCode == 200) {
     68                    update_option($option, 'yes');
     69                    $resp = 'yes';
     70              }else{
     71                    update_option($option, 'no');
     72                    $resp = 'no';
     73              }
     74        }
     75     curl_close($curl);
     76}else{
    6077    $exists = strstr(current(get_headers($url)), "200");
    6178    if (!$exists)
     
    6986      $resp = 'yes';
    7087    }
    71    
     88}
    7289    return $resp;
    7390}
     91
    7492function ezbu_5mins($schedules) {
    7593    $schedules['minutes_5'] = array(
  • wordpress-ez-backup/trunk/readme.txt

    r616980 r617071  
    1313Tested up to: 3.4.2
    1414
    15 Stable tag: 7.0.5
     15Stable tag: 7.0.6
    1616
    1717
     
    229229
    230230== Changelog ==
     231
     232= 7.0.6 =
     233*Fixed addon routine to be more compatible with other webhosts.
    231234
    232235= 7.0.5 =
  • wordpress-ez-backup/trunk/wp-ezbackup.php

    r616980 r617071  
    44Plugin URI: http://lastnightsdesigns.com/wordpress-ez-backup/
    55Description: Fast Creation of Full Site Backups & Database Backups. Simply adjust your settings & Create your Backup. Features E-mail Alert & E-Mailing Backups, Viewing Live Log files of the backup procedure, Backup Browser & Automated Backups with Scheduling.
    6 Version: 7.0.5
     6Version: 7.0.6
    77Author: Jonathan Garber
    88Author URI: http://lastnightsdesigns.com
Note: See TracChangeset for help on using the changeset viewer.