This commit is contained in:
Huong Nguyen 2024-04-17 10:13:15 +07:00
commit e566c520de
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -50,8 +50,6 @@ class webdav_client {
private $_socket = '';
private $_path ='/';
private $_auth = false;
private $_user;
private $_pass;
private $_socket_timeout = 5;
private $_errno;
@ -89,10 +87,10 @@ class webdav_client {
private $oauthtoken;
/** @var string Username (for basic/digest auth, see $auth). */
private $user;
private $_user;
/** @var string Password (for basic/digest auth, see $auth). */
private $pass;
private $_pass;
/** @var mixed to store xml data that need to be handled. */
private $_lock_ref_cdata;
@ -119,8 +117,8 @@ class webdav_client {
$this->_server = $server;
}
if (!empty($user) && !empty($pass)) {
$this->user = $user;
$this->pass = $pass;
$this->_user = $user;
$this->_pass = $pass;
}
$this->_auth = $auth;
$this->_socket = $socket;