HEX
Server: Apache
System: Linux hcss-ecs-9037 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.21
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/zhangwenbin_blog/wp-content/plugins/updraftplus/methods/webdav.php
<?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');
		}
	}

}