diff options
author | alecpl <alec@alec.pl> | 2011-02-09 12:46:46 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-02-09 12:46:46 +0000 |
commit | 99897b7c4e52a5ff026c3828b84653f460f571f0 (patch) | |
tree | 77adf36cf7584a11ebb76f7aff26a652b0d36561 /program/include/rcube_imap.php | |
parent | dcc790013f6644accc73496507c5ce77e236734d (diff) |
- Merged r4512, r4514, r4515
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index bfbf740fd..dd821bf37 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -148,9 +148,18 @@ class rcube_imap $this->options['port'] = $port; - if ($this->options['debug']) + if ($this->options['debug']) { $this->conn->setDebug(true, array($this, 'debug_handler')); + $this->options['ident'] = array( + 'name' => 'Roundcube Webmail', + 'version' => RCMAIL_VERSION, + 'php' => PHP_VERSION, + 'os' => PHP_OS, + 'command' => $_SERVER['REQUEST_URI'], + ); + } + $attempt = 0; do { $data = rcmail::get_instance()->plugins->exec_hook('imap_connect', |