From: stevetruckstuff Date: Thu, 31 Aug 2006 18:08:40 +0000 (+0000) Subject: Remove $settings['imapConnection']. Passing this to the template causes in intermitt... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=56b9649849699267c45b558ac9b436c4ac39507b;p=squirrelmail.git Remove $settings['imapConnection']. Passing this to the template causes in intermittent segfault on PHP 4.3.11 (maybe others??). Since this variable is not used by the templates right now, we will simply remove it. Probably need to re-evaluate this later as the IMAP connection could be extremely useful to template developers. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11665 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/left_main.php b/src/left_main.php index 667587f5..ed5ed23d 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -191,7 +191,7 @@ $oTemplate->assign('mailboxes', $mailbox_structure); * globals, which are dirty, filthy things in templates. :) */ $settings = array(); -$settings['imapConnection'] = $imapConnection; +#$settings['imapConnection'] = $imapConnection; $settings['iconThemePath'] = $icon_theme_path; $settings['templateDirectory'] = $sTplDir; $settings['unreadNotificationEnabled'] = $unseen_notify!=1; @@ -207,4 +207,4 @@ $oTemplate->display('left_main.tpl'); sqimap_logout($imapConnection); $oTemplate->display('footer.tpl'); -?> +?> \ No newline at end of file