Skip to content

Commit

Permalink
Merge branch 'MDL-53314-imap-debugging' of https://github.com/brendan…
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Mar 30, 2016
2 parents 99fddd4 + 644f44c commit 13e2c1b
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 @@ -100,6 +100,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 13e2c1b

Please sign in to comment.