addon-base-v2.php
1 year ago
addon-not-yet-present.php
2 years ago
azure.php
3 years ago
backblaze.php
3 years ago
backup-module.php
1 year ago
cloudfiles-new.php
1 year ago
cloudfiles.php
1 year ago
dreamobjects.php
2 years ago
dropbox.php
1 year ago
email.php
1 year ago
ftp.php
1 year ago
googlecloud.php
3 years ago
googledrive.php
1 year ago
insufficient.php
1 year ago
onedrive.php
3 years ago
openstack-base.php
1 year ago
openstack.php
3 years ago
openstack2.php
1 year ago
pcloud.php
3 years ago
remotesend.php
1 year ago
s3.php
1 year ago
s3generic.php
2 years ago
sftp.php
3 years ago
template.php
1 year ago
updraftvault.php
1 year ago
webdav.php
3 years ago
backblaze.php
41 lines
| 1 | <?php |
| 2 | |
| 3 | if (!defined('UPDRAFTPLUS_DIR')) die('No direct access.'); |
| 4 | |
| 5 | if (version_compare(phpversion(), '5.3.3', '>=')) { |
| 6 | |
| 7 | if (class_exists('UpdraftPlus_Addons_RemoteStorage_backblaze')) { |
| 8 | class UpdraftPlus_BackupModule_backblaze extends UpdraftPlus_Addons_RemoteStorage_backblaze { |
| 9 | public function __construct() { |
| 10 | parent::__construct('backblaze', 'Backblaze', true, true); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | } else { |
| 15 | |
| 16 | updraft_try_include_file('methods/addon-not-yet-present.php', 'include_once'); |
| 17 | /** |
| 18 | * N.B. UpdraftPlus_BackupModule_AddonNotYetPresent extends UpdraftPlus_BackupModule |
| 19 | */ |
| 20 | class UpdraftPlus_BackupModule_backblaze extends UpdraftPlus_BackupModule_AddonNotYetPresent { |
| 21 | public function __construct() { |
| 22 | parent::__construct('backblaze', 'Backblaze', '5.3.3', 'backblaze.png'); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | } |
| 27 | |
| 28 | } else { |
| 29 | |
| 30 | updraft_try_include_file('methods/insufficient.php', 'include_once'); |
| 31 | /** |
| 32 | * N.B. UpdraftPlus_BackupModule_insufficientphp extends UpdraftPlus_BackupModule |
| 33 | */ |
| 34 | class UpdraftPlus_BackupModule_backblaze extends UpdraftPlus_BackupModule_insufficientphp { |
| 35 | public function __construct() { |
| 36 | parent::__construct('backblaze', 'Backblaze', '5.3.3', 'backblaze.png'); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | } |
| 41 |