Lines Matching refs:this

48         $this->debugClass = $functions->debug;
49 $this->settings = $functions->settings;
52 $this->timeout = 60; //max. 25 sec
53 $this->headers['If-Modified-Since'] = gmdate('r', 0);
54 $this->status = -1;
55 $this->debug = true;
57 if ($this->settings->cookie == null) {
58 $this->_debug("Has to re-authenticate request.");
59 if (!$this->authenticate()) {
61 $this->_debug("Trying other Authentication (auth.php):"); // Try again.
62 if (!(auth_setup() && $this->authenticate(true))) {
63 …$this->_debug("Trying other Authentication (config):", $functions->authenticate() && $this->authen…
65 $this->_debug("Ok, using default auth.php"); // Try again.
69 … $this->_debug("Using Authentication:", array('user' => $this->user, 'password' => '*****'));
72 $this->cookies = $this->settings->cookie;
75 $this->headers['X-Real-Ip'] = clientIP(true);
76 $this->headers['X-Site-Exporter'] = $functions->getSecurityToken();
77 $this->headers['Accept-Encoding'] = $_SERVER['HTTP_ACCEPT_ENCODING'] ?? '';
78 $this->headers['Accept-Charset'] = $_SERVER['HTTP_ACCEPT_CHARSET'] ?? '';
79 $this->agent = $_SERVER['HTTP_USER_AGENT'] . ' DokuWiki/SiteExport';
90 list($this->user, $sticky, $this->pass) = auth_getCookie();
93 if ($secondAttempt && !isset($this->user) && $INPUT->str('u') && $INPUT->str('p')) {
96 $this->user = $INPUT->str('u');
97 $this->pass = $INPUT->str('p');
100 $this->pass = !empty($this->pass) ? $this->auth_decrypt($this->pass, $secret) : '';
103 return isset($this->user);
118 $this->debugClass->runtimeException("No decryption method found");
128 if ($this->settings->cookie == null) {
129 $this->settings->cookie = $this->cookies;
142 if (!$this->debugClass) {
146 $this->debugClass->message("[HTTPClient] " . $info, $var, 1);
155 $this->_debug( $info, $var );