| Server IP : 104.21.25.182 / Your IP : 216.73.217.68 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/public_html/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');
}
}
}