backup
Last commit date
com
5 years ago
languages
5 years ago
public
5 years ago
BackupGuard.php
5 years ago
README.txt
5 years ago
backup.php
5 years ago
index.php
5 years ago
backup.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Plugin Name: Backup |
| 5 | * Plugin URI: https://backup-guard.com/products/backup-wordpress |
| 6 | * Description: Backup Guard is the most complete 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: 1.5.5 |
| 8 | * Author: BackupGuard |
| 9 | * Author URI: https://backup-guard.com/products/backup-wordpress |
| 10 | * License: GPL-2.0+ |
| 11 | * License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 12 | */ |
| 13 | |
| 14 | if (function_exists('activate_backup_guard')) { |
| 15 | die('Please deactivate any other BackupGuard version before activating this one.'); |
| 16 | } |
| 17 | |
| 18 | if (!defined('SG_BACKUP_GUARD_VERSION')) { |
| 19 | define('SG_BACKUP_GUARD_VERSION', '1.5.5'); |
| 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'); |