| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Backuply |
| 4 |
Plugin URI: http://wordpress.org/plugins/backuply/ |
| 5 |
Description: Backuply is a Wordpress Backup plugin. Backups are the best form of security and safety a website can have. |
| 6 |
Version: 1.4.7 |
| 7 |
Author: Softaculous |
| 8 |
Author URI: https://backuply.com |
| 9 |
License: LGPL v2.1 |
| 10 |
License URI: http://www.gnu.org/licenses/lgpl-2.1.html |
| 11 |
*/ |
| 12 |
|
| 13 |
// We need the ABSPATH |
| 14 |
if (!defined('ABSPATH')) exit; |
| 15 |
|
| 16 |
if(!function_exists('add_action')){ |
| 17 |
echo 'You are not allowed to access this page directly.'; |
| 18 |
exit; |
| 19 |
} |
| 20 |
|
| 21 |
$backuply_tmp_plugins = get_option('active_plugins', []); |
| 22 |
|
| 23 |
// Is the premium plugin loaded ? |
| 24 |
if(in_array('backuply-pro/backuply-pro.php', $backuply_tmp_plugins)){ |
| 25 |
|
| 26 |
// The following variable was not there prior to 1.2.1 in the pro version when there was no dependence on the free version |
| 27 |
$backuply_pro_version = get_option('backuply_pro_version'); |
| 28 |
if(empty($backuply_pro_version)){ |
| 29 |
return; |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
// If BACKUPLY_VERSION exists then the plugin is loaded already ! |
| 34 |
if(defined('BACKUPLY_VERSION')) { |
| 35 |
return; |
| 36 |
} |
| 37 |
|
| 38 |
define('BACKUPLY_FILE', __FILE__); |
| 39 |
|
| 40 |
include_once(dirname(__FILE__).'/init.php'); |
| 41 |
|