mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-53314 inboundmessage: Added $CFG->debugimap developer config item
This commit is contained in:
parent
03b8b55f10
commit
644f44cf50
2 changed files with 4 additions and 0 deletions
|
@ -95,6 +95,7 @@ class manager {
|
||||||
'password' => $CFG->messageinbound_hostpass,
|
'password' => $CFG->messageinbound_hostpass,
|
||||||
'hostspec' => $CFG->messageinbound_host,
|
'hostspec' => $CFG->messageinbound_host,
|
||||||
'secure' => $CFG->messageinbound_hostssl,
|
'secure' => $CFG->messageinbound_hostssl,
|
||||||
|
'debug' => empty($CFG->debugimap) ? null : fopen('php://stderr', 'w'),
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->client = new \Horde_Imap_Client_Socket($configuration);
|
$this->client = new \Horde_Imap_Client_Socket($configuration);
|
||||||
|
|
|
@ -563,6 +563,9 @@ $CFG->admin = 'admin';
|
||||||
// Prevent theme caching
|
// Prevent theme caching
|
||||||
// $CFG->themedesignermode = true; // NOT FOR PRODUCTION SERVERS!
|
// $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
|
// Prevent JS caching
|
||||||
// $CFG->cachejs = false; // NOT FOR PRODUCTION SERVERS!
|
// $CFG->cachejs = false; // NOT FOR PRODUCTION SERVERS!
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue