Skip to content

Commit

Permalink
MDL-53314 inboundmessage: Added $CFG->debugimap developer config item
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanheywood committed Mar 9, 2016
1 parent 03b8b55 commit 644f44c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/tool/messageinbound/classes/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ protected function get_imap_client() {
'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);
Expand Down
3 changes: 3 additions & 0 deletions config-dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@
// 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!
//
Expand Down

0 comments on commit 644f44c

Please sign in to comment.