*
* Displays all options relating to folders
*
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @return array all option information
*/
function load_optpage_data_folder() {
- global $username, $imapServerAddress, $imapPort, $oTemplate, $nbsp,
- $folder_prefix, $default_folder_prefix, $show_prefix_option;
+ global $username, $imapServerAddress, $imapPort, $imap_stream_options,
+ $oTemplate, $nbsp, $folder_prefix, $default_folder_prefix,
+ $show_prefix_option;
/* Get some imap data we need later. */
- $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0);
+ $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options);
$boxes = sqimap_mailbox_list($imapConnection);
/* Build a simple array into which we will build options. */