@ -316,6 +316,19 @@ class rcube_imap
}
/**
* Activate/deactivate debug mode
*
* @param boolean $dbg True if IMAP conversation should be logged
* @access public
*/
function set_debug($dbg = true)
{
$this->options['debug'] = $dbg;
$this->conn->setDebug($dbg, array($this, 'debug_handler'));
* Set default message charset
@ -1357,6 +1357,18 @@ class rcube_ldap extends rcube_addressbook
* @param boolean $dbg True if LDAP commands should be logged
$this->debug = $dbg;
* Quotes attribute value string