소스 검색

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.

stevetruckstuff 19 년 전
부모
커밋
2cfac6f247
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/left_main.php

+ 2 - 2
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');
-?>
+?>