| Server IP : 185.252.147.100 / Your IP : 216.73.217.33 Web Server : nginx/1.27.3 System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : mitr ( 1000) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/public1/ep3/wp-content/plugins/duplicator/classes/package/ |
Upload File : |
<?php
defined('ABSPATH') || defined('DUPXABSPATH') || exit;
/**
* The base class for all filter types Directories/Files/Extentions
*
* @package Duplicator
* @subpackage classes/package
*/
// Exit if accessed directly
if (! defined('DUPLICATOR_VERSION')) {
exit;
}
class DUP_Archive_Filter_Scope_Base
{
//All internal storage items that duplicator decides to filter
public $Core = array();
//Global filter items added from settings
public $Global = array();
//Items when creating a package or template that a user decides to filter
public $Instance = array();
}
/**
* The filter types that belong to directories
*
* @package Duplicator
* @subpackage classes/package
*/
class DUP_Archive_Filter_Scope_Directory extends DUP_Archive_Filter_Scope_Base
{
//Items that are not readable
public $Warning = array();
//Items that are not readable
public $Unreadable = array();
public $AddonSites = array();
}
/**
* The filter types that belong to files
*
* @package Duplicator
* @subpackage classes/package
*/
class DUP_Archive_Filter_Scope_File extends DUP_Archive_Filter_Scope_Directory
{
//Items that are too large
public $Size = array();
}
/**
* The filter information object which store all information about the filtered
* data that is gathered to the execution of a scan process
*
* @package Duplicator
* @subpackage classes/package
*/
class DUP_Archive_Filter_Info
{
/** @var DUP_Archive_Filter_Scope_Directory Contains all folder filter info */
public $Dirs = null;
/** @var DUP_Archive_Filter_Scope_File Contains all file filter info */
public $Files = null;
/** @var DUP_Archive_Filter_Scope_Base Contains all extensions filter info */
public $Exts = null;
public $UDirCount = 0;
public $UFileCount = 0;
public $UExtCount = 0;
public $TreeSize;
public $TreeWarning;
/**
* Init this object
*/
public function __construct()
{
$this->reset();
}
/**
* reset and clean all object
*/
public function reset()
{
$this->Dirs = new DUP_Archive_Filter_Scope_Directory();
$this->Files = new DUP_Archive_Filter_Scope_File();
$this->Exts = new DUP_Archive_Filter_Scope_Base();
$this->TreeSize = array();
$this->TreeWarning = array();
}
}