BUG 10133 ProcessMaker Zimbra Triggers doesn't work on Zimbra 8 SOLVED

- Triggers doesn't work on Zimbra 8.
- was add the parameter "protocol" for changed protocol http or https.
This commit is contained in:
Marco Antonio Nina
2012-12-11 11:00:02 -04:00
parent 7ea5a88fb7
commit 1a3d8a9c98
2 changed files with 51 additions and 33 deletions

View File

@@ -46,7 +46,7 @@ class Zimbra
* @param string $which defaults to prod
*/
public function __construct ($username, $serverUrl, $preAuthKey, $which = 'prod')
public function __construct ($username, $serverUrl, $preAuthKey, $which = 'prod', $protocol = 'http')
{
if ($which == 'dev') {
$which = 'zimbra_dev';
@@ -56,7 +56,7 @@ class Zimbra
}
$this->_preAuthKey = $preAuthKey;
$this->_protocol = "http://"; // could also be http://
$this->_protocol = $protocol."://"; // could also be http://
$this->_server = $serverUrl; //'zimbra.hostname.edu';
$this->_server1 = $serverUrl; //'zimbra.hostname.edu';
$this->_username = $username;