. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 87.98.249.37 / Your IP : 216.73.216.208 [ Web Server : Microsoft-IIS/10.0 System : Windows NT NS3076740 10.0 build 17763 (Windows Server 2019) AMD64 User : IWPD_292(growel19p) ( 0) PHP Version : 8.3.12 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/growel.com/httpdocs/blog/wp-content/plugins/updraftplus/methods/ |
Upload File : |
<?php
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.');
if (class_exists('UpdraftPlus_Addons_RemoteStorage_webdav')) {
// Migrate options to new-style storage - April 2017
if (!is_array(UpdraftPlus_Options::get_updraft_option('updraft_webdav')) && '' != UpdraftPlus_Options::get_updraft_option('updraft_webdav_settings', '')) {
$opts = UpdraftPlus_Options::get_updraft_option('updraft_webdav_settings');
UpdraftPlus_Options::update_updraft_option('updraft_webdav', $opts);
UpdraftPlus_Options::delete_updraft_option('updraft_webdav_settings');
}
class UpdraftPlus_BackupModule_webdav extends UpdraftPlus_Addons_RemoteStorage_webdav {
public function __construct() {
parent::__construct('webdav', 'WebDAV');
}
}
} else {
updraft_try_include_file('methods/addon-not-yet-present.php', 'include_once');
/**
* N.B. UpdraftPlus_BackupModule_AddonNotYetPresent extends UpdraftPlus_BackupModule
*/
class UpdraftPlus_BackupModule_webdav extends UpdraftPlus_BackupModule_AddonNotYetPresent {
public function __construct() {
parent::__construct('webdav', 'WebDAV');
}
}
}