Add quick debug lines.
authorGunnar Wrobel <p@rdus.de>
Mon, 27 Dec 2010 21:11:02 +0000 (22:11 +0100)
committerGunnar Wrobel <p@rdus.de>
Tue, 4 Jan 2011 07:54:15 +0000 (08:54 +0100)
framework/Kolab_Storage/lib/Horde/Kolab/Storage/Factory.php

index 41506b5..323496a 100644 (file)
@@ -107,6 +107,7 @@ class Horde_Kolab_Storage_Factory
         case 'horde':
             $config['hostspec'] = $config['host'];
             unset($config['host']);
+            //$config['debug'] = '/tmp/imap.log';
             $driver = new Horde_Kolab_Storage_Driver_Imap(
                 new Horde_Imap_Client_Socket(
                     $config
@@ -138,6 +139,7 @@ class Horde_Kolab_Storage_Factory
             break;
         case 'roundcube':
             $client = new rcube_imap_generic();
+            //$client->setDebug(true);
             $client->connect(
                 $config['host'], $config['username'], $config['password'],
                 array(