Changeset 890eae6 in github for program/include/rcube_imap.php


Ignore:
Timestamp:
Feb 9, 2011 6:33:49 AM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
a97937a
Parents:
ea23df6
Message:
  • Use IMAP's ID extension (RFC2971) to print more info into debug log
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    rd755ead r890eae6  
    149149        $this->options['port'] = $port; 
    150150 
    151         if ($this->options['debug']) 
     151        if ($this->options['debug']) { 
    152152            $this->conn->setDebug(true, array($this, 'debug_handler')); 
     153 
     154            $this->options['ident'] = array( 
     155                'name' => 'Roundcube Webmail', 
     156                'version' => RCMAIL_VERSION, 
     157                'php' => PHP_VERSION, 
     158                'os' => PHP_OS, 
     159                'command' => $_SERVER['REQUEST_URI'], 
     160            ); 
     161        } 
    153162 
    154163        $attempt = 0; 
Note: See TracChangeset for help on using the changeset viewer.