backup
Last commit date
com
3 years ago
languages
3 years ago
public
3 years ago
BackupGuard.php
3 years ago
README.txt
3 years ago
backup.php
3 years ago
index.php
3 years ago
backup.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Plugin Name: JetBackup |
| 5 | * Plugin URI: https://www.jetbackup.com/jetbackup-for-wordpress |
| 6 | * Description: JetBackup is the most complete WordPress site backup and restore plugin. We offer the easiest way to backup, restore or migrate your site. You can backup your files, database or both. |
| 7 | * Version: 2.0.3 |
| 8 | * Author: JetBackup |
| 9 | * Author URI: https://www.jetbackup.com/jetbackup-for-wordpress |
| 10 | * License: Commercial Software License |
| 11 | * URI: |
| 12 | */ |
| 13 | |
| 14 | if (function_exists('activate_backup_guard')) { |
| 15 | die('Please deactivate any other JetBackup version before activating this one.'); |
| 16 | } |
| 17 | |
| 18 | if (!defined('SG_BACKUP_GUARD_VERSION')) { |
| 19 | define('SG_BACKUP_GUARD_VERSION', '2.0.3'); |
| 20 | } |
| 21 | |
| 22 | if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) { |
| 23 | define('SG_BACKUP_GUARD_MAIN_FILE', __FILE__); |
| 24 | } |
| 25 | |
| 26 | if (!defined('SG_FORCE_DB_TABLES_RESET')) { |
| 27 | define('SG_FORCE_DB_TABLES_RESET', false); |
| 28 | } |
| 29 | |
| 30 | //if this file is called directly, abort. |
| 31 | if (!defined('WPINC')) { |
| 32 | die; |
| 33 | } |
| 34 | |
| 35 | require_once(plugin_dir_path(__FILE__) . 'public/boot.php'); |
| 36 | require_once(plugin_dir_path(__FILE__) . 'BackupGuard.php'); |