PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / 3.1.18.8
JetBackup – Backup, Restore & Migrate v3.1.18.8
3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 1.6.11 1.6.12 1.6.13 1.6.15 1.6.5.1 1.6.8.8 1.6.9 1.6.9.1 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7.5 2.0.8.7 2.0.9.11 2.0.9.14 2.0.9.15 2.0.9.6 2.0.9.7 2.0.9.9 3.1.10.7 3.1.11.1 3.1.12.3 3.1.13.4 3.1.14.17 3.1.15.4 3.1.16.1 3.1.17.5 3.1.18.10 3.1.18.8 3.1.18.9 3.1.19.8 3.1.20.3 3.1.21.3 3.1.7.9 3.1.9.2 trunk 1.1.90 1.1.91 1.2.0 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2
backup / src / JetBackup / JetBackup.php
backup / src / JetBackup Last commit date
3rdparty 5 months ago Ajax 5 months ago Alert 5 months ago Archive 5 months ago Backup 5 months ago BackupJob 5 months ago CLI 5 months ago Cache 5 months ago Config 5 months ago Cron 5 months ago Crontab 5 months ago Data 5 months ago Destination 5 months ago DirIterator 5 months ago Download 5 months ago Downloader 5 months ago Encryption 5 months ago Entities 5 months ago Exception 5 months ago Export 5 months ago Filesystem 5 months ago IO 5 months ago Integrations 5 months ago JetBackupLinux 5 months ago License 5 months ago Log 5 months ago MFA 5 months ago Notification 5 months ago Queue 5 months ago Restore 5 months ago ResumableTask 5 months ago SGB 5 months ago Schedule 5 months ago Settings 5 months ago Showcase 5 months ago Snapshot 5 months ago Upload 5 months ago UserInput 5 months ago Web 5 months ago Wordpress 5 months ago .htaccess 5 months ago Factory.php 5 months ago JetBackup.php 5 months ago autoload.php 5 months ago functions.php 5 months ago index.html 5 months ago web.config 5 months ago
JetBackup.php
49 lines
1 <?php
2
3 namespace JetBackup;
4
5 use JetBackup\Wordpress\Wordpress;
6
7 if (!defined( '__JETBACKUP__')) die('Direct access is not allowed');
8
9 class JetBackup {
10
11 private function __construct() {}
12
13 const VERSION = '3.1.18.8';
14 const DEVELOPMENT = false;
15
16 const DEFAULT_LANGUAGE = 'en_US';
17 const NONCE_COOKIE_NAME = 'wp-jetbackup-nonce';
18 const LANG_COOKIE_NAME = 'wp-jetbackup-user-language';
19
20 const MINIMUM_PHP_VERSION = '7.4';
21 const MINIMUM_WP_VERSION = '6.0';
22 const TESTED_ON_WP_VERSION = '6.9.0';
23 const PLUGIN_CONFLICTS = [
24 'backup-guard-gold' . self::SEP . 'BackupGuard.php',
25 'backup-guard-platinum' . self::SEP . 'BackupGuard.php',
26 'backup-guard-silver' . self::SEP . 'BackupGuard.php',
27 ];
28
29 const SEP = DIRECTORY_SEPARATOR;
30
31 const WP_ROOT_PATH = WP_ROOT;
32 const ROOT_PATH = JB_ROOT;
33
34 const PLUGIN_NAME = 'backup';
35 const PLUGIN_EXT_NAME = 'JetBackup';
36 const PLUGIN_SLUG = self::PLUGIN_NAME . self::SEP . self::PLUGIN_NAME . '.php';
37 const CRON_PUBLIC_URL = '/' . Wordpress::WP_CONTENT . '/' . Wordpress::WP_PLUGINS . '/' . JetBackup::PLUGIN_NAME . '/public/cron';
38
39 const ID_FIELD = '_id';
40
41 const SRC_PATH = self::ROOT_PATH . self::SEP . 'src' . self::SEP . self::PLUGIN_EXT_NAME;
42 const TRDPARTY_PATH = self::SRC_PATH . self::SEP . '3rdparty';
43 const PUBLIC_PATH = self::ROOT_PATH . self::SEP . 'public';
44 const CRON_PATH = self::PUBLIC_PATH . self::SEP . 'cron';
45 const CONFIG_PATH = self::ROOT_PATH . self::SEP . 'config';
46 const TEMPLATES_PATH = self::ROOT_PATH . self::SEP . 'templates';
47
48 }
49