mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Disable debugging by default, but enable for the interserv test application
This commit is contained in:
parent
07b6cc1297
commit
47d7968d60
@ -125,7 +125,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* send command to remote server */
|
/* send command to remote server */
|
||||||
function send($method_name, $args, $url, $debug=True)
|
function send($method_name, $args, $url, $debug=False)
|
||||||
{
|
{
|
||||||
$cmd = '_send_' . ($this->mode ? $this->mode : 'xmlrpc') . '_' . $this->security;
|
$cmd = '_send_' . ($this->mode ? $this->mode : 'xmlrpc') . '_' . $this->security;
|
||||||
$this->$cmd($method_name, $args, $url, $debug);
|
$this->$cmd($method_name, $args, $url, $debug);
|
||||||
@ -188,7 +188,7 @@
|
|||||||
$f = CreateObject('phpgwapi.xmlrpcmsg', $method_name, $arr,'struct');
|
$f = CreateObject('phpgwapi.xmlrpcmsg', $method_name, $arr,'struct');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->debug("<pre>" . htmlentities($f->serialize()) . "</pre>\n",$debug);
|
$this->debug('<pre>' . htmlentities($f->serialize()) . "</pre>\n",$debug);
|
||||||
$c = CreateObject('phpgwapi.xmlrpc_client',$uri, $hostpart, 443);
|
$c = CreateObject('phpgwapi.xmlrpc_client',$uri, $hostpart, 443);
|
||||||
$c->setCredentials($this->sessionid,$this->kp3);
|
$c->setCredentials($this->sessionid,$this->kp3);
|
||||||
$c->setDebug($debug);
|
$c->setDebug($debug);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user