andre 2 лет назад
Родитель
Сommit
5abb62ff66
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      app/Libs/Kerio/Components/Api/Soap/Connection.php

+ 4 - 4
app/Libs/Kerio/Components/Api/Soap/Connection.php

@@ -34,13 +34,13 @@ class Connection implements ConnectionInterface
     /**
      * 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
      */
-    const CLIENT_PORT = '8443';
+    const CLIENT_PORT = '443';
 
     /**
      * @var MySoapClient
@@ -91,7 +91,7 @@ class Connection implements ConnectionInterface
      * @param string $user
      * @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