MDL-53314 inboundmessage: Added $CFG->debugimap developer config item

This commit is contained in:
Brendan Heywood 2016-03-09 17:13:14 +11:00
parent 03b8b55f10
commit 644f44cf50
2 changed files with 4 additions and 0 deletions

View file

@ -95,6 +95,7 @@ class manager {
'password' => $CFG->messageinbound_hostpass,
'hostspec' => $CFG->messageinbound_host,
'secure' => $CFG->messageinbound_hostssl,
'debug' => empty($CFG->debugimap) ? null : fopen('php://stderr', 'w'),
);
$this->client = new \Horde_Imap_Client_Socket($configuration);

View file

@ -563,6 +563,9 @@ $CFG->admin = 'admin';
// Prevent theme caching
// $CFG->themedesignermode = true; // NOT FOR PRODUCTION SERVERS!
//
// Enable verbose debug information during fetching of email messages from IMAP server.
// $CFG->debugimap = true;
//
// Prevent JS caching
// $CFG->cachejs = false; // NOT FOR PRODUCTION SERVERS!
//