Changeset 08ffd939 in github for program/include/rcmail.php
- Timestamp:
- Dec 29, 2011 4:35:01 AM (17 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- a61ccea
- Parents:
- 81c2ce9
- File:
-
- 1 edited
-
program/include/rcmail.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcmail.php
ra90ad28 r08ffd939 599 599 600 600 // enable caching of imap data 601 $imap_cache = $this->config->get('imap_cache');601 $imap_cache = $this->config->get('imap_cache'); 602 602 $messages_cache = $this->config->get('messages_cache'); 603 603 // for backward compatybility … … 606 606 $messages_cache = true; 607 607 } 608 608 609 if ($imap_cache) 609 610 $this->imap->set_caching($imap_cache); … … 612 613 613 614 // set pagesize from config 614 $this->imap->set_pagesize($this->config->get('pagesize', 50)); 615 616 // Setting root and delimiter before establishing the connection 617 // can save time detecting them using NAMESPACE and LIST 615 $pagesize = $this->config->get('mail_pagesize'); 616 if (!$pagesize) { 617 $pagesize = $this->config->get('pagesize', 50); 618 } 619 $this->imap->set_pagesize($pagesize); 620 621 // set connection options 618 622 $options = array( 619 623 'auth_type' => $this->config->get('imap_auth_type', 'check'),
Note: See TracChangeset
for help on using the changeset viewer.
