X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fleft_main.php;h=b54183bfb09374bc46abedd3bf484f7a71321cbc;hb=15fa1598794b854786ecb42a0f1b48ef456e002c;hp=24f32253c2e55dad2d73e1e58bb1e6450411f81f;hpb=99491db0312426e7aae1807057dca6d688369629;p=squirrelmail.git diff --git a/src/left_main.php b/src/left_main.php index 24f32253..b54183bf 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -6,7 +6,7 @@ * This is the code for the left bar. The left bar shows the folders * available, and has cookie information. * - * @copyright 1999-2010 The SquirrelMail Project Team + * @copyright 1999-2016 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -15,11 +15,6 @@ /** This is the left_main page */ define('PAGE_NAME', 'left_main'); -/* Disable browser caching */ -header('Cache-Control: no-cache, no-store, must-revalidate'); -header('Pragma: no-cache'); -header('Expires: ' . gmdate(DATE_RFC1123, time()-1)); - /** * Include the SquirrelMail initialization file. */ @@ -43,7 +38,8 @@ sqgetGlobalVar('unfold', $unfold, SQ_GET); // open a connection on the imap port (143) // why hide the output? -$imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, true); +global $imap_stream_options; // in case not defined in config +$imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, true, $imap_stream_options); /** * Using stristr since very old preferences may contain "None" and "none".