You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
<?php
|
|
|
|
/**
|
|
* Plugin Name: Duplicator Pro
|
|
* Plugin URI: http://snapcreek.com/
|
|
* Description: Create, schedule and transfer a copy of your WordPress files and database. Duplicate and move a site from one location to another quickly.
|
|
* Version: 4.5.4
|
|
* Requires at least: 4.0
|
|
* Tested up to: 6.0
|
|
* Requires PHP: 5.6.20
|
|
* Author: Snap Creek
|
|
* Author URI: http://snapcreek.com
|
|
* Network: true
|
|
* Update URI: https://snapcreek.com
|
|
* Text Domain: duplicator-pro
|
|
* License: GPLv2 or later
|
|
*
|
|
* Copyright 2011-2022 Snapcreek LLC
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License, version 2, as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
defined('ABSPATH') || exit;
|
|
|
|
update_option( 'duplicator_pro_license_key', 'activated' );
|
|
|
|
// CHECK PHP VERSION
|
|
define('DUPLICATOR_PRO_PHP_MINIMUM_VERSION', '5.6.20');
|
|
define('DUPLICATOR_PRO_PHP_SUGGESTED_VERSION', '7.4');
|
|
require_once dirname(__FILE__) . "/tools/DuplicatorPhpVersionCheck.php";
|
|
if (DuplicatorPhpVersionCheck::check(DUPLICATOR_PRO_PHP_MINIMUM_VERSION, DUPLICATOR_PRO_PHP_SUGGESTED_VERSION) === false) {
|
|
return;
|
|
}
|
|
$currentPluginBootFile = __FILE__;
|
|
|
|
require_once dirname(__FILE__) . '/duplicator-pro-main.php';
|
|
|