Skip to content

Commit 0bf3b2b

Browse files
author
N1ghteyes
committed
Fixing missing $this from user / pass values
1 parent db8d256 commit 0bf3b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpaneluapi.class

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class cpanelUAPI
5050
{
5151
$this->type = $this->ssl == 1 ? "https://" : "http://";
5252
$this->requestUrl = $this->type . $this->server . ':' . $this->port . '/execute/';
53-
$this->auth = base64_encode($user . ":" . $pass);
53+
$this->auth = base64_encode($this->user . ":" . $this->pass);
5454
}
5555

5656
/**

0 commit comments

Comments
 (0)