|
@@ -34,13 +34,13 @@ class Connection implements ConnectionInterface
|
|
|
/**
|
|
/**
|
|
|
* path
|
|
* path
|
|
|
*/
|
|
*/
|
|
|
- const ADMIN_PATH = '/service/admin/soap/';
|
|
|
|
|
- const ACCOUNT_PATH = '/service/soap/';
|
|
|
|
|
|
|
+ const ADMIN_PATH = '/admin/api/jsonrpc/';
|
|
|
|
|
+ const ACCOUNT_PATH = '/webmail/api/jsonrpc/';
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* ports
|
|
* ports
|
|
|
*/
|
|
*/
|
|
|
- const CLIENT_PORT = '8443';
|
|
|
|
|
|
|
+ const CLIENT_PORT = '443';
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* @var MySoapClient
|
|
* @var MySoapClient
|
|
@@ -91,7 +91,7 @@ class Connection implements ConnectionInterface
|
|
|
* @param string $user
|
|
* @param string $user
|
|
|
* @throws SoapFault
|
|
* @throws SoapFault
|
|
|
*/
|
|
*/
|
|
|
- public function __construct($server, $port = 7071, $username, $password = null, $user = "admin", $authToken = null , $preauth = null)
|
|
|
|
|
|
|
+ public function __construct($server, $port = 4040, $username, $password = null, $user = "admin", $authToken = null , $preauth = null)
|
|
|
{
|
|
{
|
|
|
/**
|
|
/**
|
|
|
* set params
|
|
* set params
|