|
Server IP : 10.131.40.8 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/ludmqhh/www/guillaume/wp-content/../wp-content/plugins/updraftplus/methods/ |
| [ Home ] | [ C0mmand ] | [ 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');
}
}
}
