Changeset 598216
- Timestamp:
- 09/12/2012 10:53:06 PM (14 years ago)
- Location:
- wordpress-ez-backup
- Files:
-
- 52 added
- 2 edited
-
tags/6.0.4 (added)
-
tags/6.0.4/functions (added)
-
tags/6.0.4/functions/css (added)
-
tags/6.0.4/functions/css/ezstyle.css (added)
-
tags/6.0.4/functions/css/index.html (added)
-
tags/6.0.4/functions/index.html (added)
-
tags/6.0.4/functions/js (added)
-
tags/6.0.4/functions/js/boxover.js (added)
-
tags/6.0.4/functions/js/index.html (added)
-
tags/6.0.4/functions/js/main.js (added)
-
tags/6.0.4/functions/js/schedule.js (added)
-
tags/6.0.4/functions/js/wpcron.js (added)
-
tags/6.0.4/functions/logs (added)
-
tags/6.0.4/functions/logs/backupstats.php (added)
-
tags/6.0.4/functions/logs/errorlog.php (added)
-
tags/6.0.4/functions/logs/index.html (added)
-
tags/6.0.4/functions/logs/viewlog.php (added)
-
tags/6.0.4/functions/routine (added)
-
tags/6.0.4/functions/routine/backup.sh (added)
-
tags/6.0.4/functions/routine/functions.sh (added)
-
tags/6.0.4/functions/routine/index.html (added)
-
tags/6.0.4/functions/schedule (added)
-
tags/6.0.4/functions/schedule/index.html (added)
-
tags/6.0.4/images (added)
-
tags/6.0.4/images/ezbackup-125x115.png (added)
-
tags/6.0.4/images/index.html (added)
-
tags/6.0.4/images/question.gif (added)
-
tags/6.0.4/index.html (added)
-
tags/6.0.4/logs (added)
-
tags/6.0.4/logs/errorlog.txt (added)
-
tags/6.0.4/logs/index.html (added)
-
tags/6.0.4/logs/log.txt (added)
-
tags/6.0.4/pages (added)
-
tags/6.0.4/pages/activate.php (added)
-
tags/6.0.4/pages/backup.php (added)
-
tags/6.0.4/pages/browser.php (added)
-
tags/6.0.4/pages/cron.php (added)
-
tags/6.0.4/pages/functions.php (added)
-
tags/6.0.4/pages/help.php (added)
-
tags/6.0.4/pages/index.html (added)
-
tags/6.0.4/pages/main.php (added)
-
tags/6.0.4/pages/restore.php (added)
-
tags/6.0.4/pages/wp.php (added)
-
tags/6.0.4/readme.txt (added)
-
tags/6.0.4/screenshot-1.png (added)
-
tags/6.0.4/screenshot-2.png (added)
-
tags/6.0.4/screenshot-3.png (added)
-
tags/6.0.4/screenshot-4.png (added)
-
tags/6.0.4/screenshot-5.png (added)
-
tags/6.0.4/screenshot-6.png (added)
-
tags/6.0.4/screenshot-7.png (added)
-
tags/6.0.4/wp-ezbackup.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp-ezbackup.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-ez-backup/trunk/readme.txt
r598184 r598216 1 1 === WordPress EZ Backup === 2 2 Contributors: SangrelX 3 Donate link: http://lastnightsdesigns.com/ wordpress-ez-backup3 Donate link: http://lastnightsdesigns.com/?page_id=121 4 4 Tags: easy, backup, files, database, mysql, site 5 5 Requires at least: 2.8.2 6 6 Tested up to: 3.4.2 7 Stable tag: 6.0. 37 Stable tag: 6.0.4 8 8 9 9 Backup & Archive your site & Database all from this easy to use plugin. Many robust features included. … … 11 11 == Description == 12 12 13 WordPress EZ Backup is A administrators plugin to allow the easiest most feature rich method for creating backup archives of your entire site & database. Please take your time to check out this neat plugin. WordPress EZ Backup started as a private plugin I used on my own & now im bringing it to everyone. Please remember to Deactivate and Reactivate your copy when updating to ensure all updates take effect.13 WordPress EZ Backup is A administrators plugin to allow the easiest most feature rich method for creating backup archives of your entire site & database. Please take your time to check out this neat plugin. WordPress EZ Backup started as a private plugin I used on my own & now im bringing it to everyone. 14 14 15 15 == Installation == … … 116 116 117 117 == Changelog == 118 119 = 6.0.4 = 120 *adjusting upgrade routine to prevent users from having to manually deactivate and reactivate in order to make upgrades take effect. 118 121 119 122 = 6.0.3 = -
wordpress-ez-backup/trunk/wp-ezbackup.php
r597836 r598216 4 4 Plugin URI: http://lastnightsdesigns.com/wordpress-ez-backup/ 5 5 Description: 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: 6.0. 36 Version: 6.0.4 7 7 Author: Jonathan Garber 8 8 Author URI: http://lastnightsdesigns.com 9 */ 10 include 'pages/functions.php'; 9 */include 'pages/functions.php'; 11 10 function ez_stylesheet() { 12 11 $style = WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); … … 15 14 16 15 add_action('admin_head', 'ez_stylesheet'); 17 function ezbu_checksub($domain) { $exp = explode('.', $domain); if(count($exp) > 2) { return true; } else{ return false; } } 18 function ezbu_installer() { 16 function ezbu_checksub($domain) { 17 $exp = explode('.', $domain); 18 if(count($exp) > 2) { 19 return true; 20 } else{ 21 return false; 22 } 23 } 24 25 function ezbu_installer() { 19 26 $chmods = dirname(__FILE__); 20 27 $sh1 = $chmods.''."/functions/routine/backup.sh"; 21 28 $sh2 = $chmods.''."/functions/routine/functions.sh"; 22 23 29 chmod("$sh1", 0700); 24 30 chmod("$sh2", 0700); 25 26 31 $c1 = call_it('EZBUCRON'); 27 32 $c2 = call_it('EZBUWP'); 28 $c3 = call_it('EZBUATTACH'); 29 33 $c3 = call_it('EZBUATTACH'); 30 34 if(ezbu_checksub(get_bloginfo('url'))) { 31 35 //subdomain … … 36 40 update_option('ezbu_config', $config); 37 41 update_option('ezbu_root', $root); 38 update_option('ezbu_plugin', $plugin); 39 40 42 update_option('ezbu_plugin', $plugin); 41 43 } else { 42 44 //not subdomain 43 45 $config = ezbackup_path(); 44 46 $root = dirname(ezbackup_path(false)); 45 $plugin = plugin_dir_url('').plugin_basename(dirname(__FILE__)).'/'; 46 47 $plugin = plugin_dir_url('').plugin_basename(dirname(__FILE__)).'/'; 47 48 update_option('ezbu_config', $config); 48 49 update_option('ezbu_root', $root); 49 update_option('ezbu_plugin', $plugin); 50 51 } 52 53 50 update_option('ezbu_plugin', $plugin); 51 } 54 52 } 55 53 … … 180 178 181 179 182 //add_action('admin_init','ezbu_update'); 183 register_activation_hook( __FILE__, 'ezbu_tst_ chk' );180 181 register_activation_hook( __FILE__, 'ezbu_tst_act' ); 184 182 register_deactivation_hook( __FILE__, 'ezbu_tst_dea' ); 185 183 … … 188 186 $plugin_version = $plugin_data['Version']; 189 187 return $plugin_version; 190 } 191 188 }add_action('admin_init','ezbu_tst_chk'); 192 189 function ezbu_tst_chk() { 193 $last_known_version = get_option('ezbu_version'); 194 $current_version = ezbu_get_version(); 195 190 $last_known_version = get_option('ezbu_version'); 191 $current_version = ezbu_get_version(); 196 192 if ( $last_known_version != $current_version && $last_known_version != '' ) { 197 193 update_option( "ezbu_version", $current_version ); 198 ezbu_tst_upd(); 199 }else{ 200 update_option( "ezbu_version", $current_version ); 201 ezbu_tst_act(); 194 ezbu_tst_upd(); ezbu_installer(); 202 195 } 203 196 } … … 212 205 'version' => ezbu_get_version() 213 206 ); 214 $ts = ezbu_tst_curl_hit($url,$data); 207 $ts = ezbu_tst_curl_hit($url,$data); $version = ezbu_get_version(); 215 208 update_option("ezbu_version", $version); 216 209 }
Note: See TracChangeset
for help on using the changeset viewer.