浏览代码

Made sure $uid_support is forced true for those who didn't use conf.pl to edit their config.
Corrected email address in a comment from ages ago.

tassium 22 年之前
父节点
当前提交
88bedca137
共有 1 个文件被更改,包括 9 次插入2 次删除
  1. 9 2
      functions/global.php

+ 9 - 2
functions/global.php

@@ -1,7 +1,7 @@
 <?php
 <?php
 
 
 /**
 /**
- * globals.php
+ * global.php
  *
  *
  * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  * Licensed under the GNU GPL. For full terms see the file COPYING.
@@ -24,11 +24,18 @@ if(isset($session_name) && $session_name) {
 
 
 /* If magic_quotes_runtime is on, SquirrelMail breaks in new and creative ways.
 /* If magic_quotes_runtime is on, SquirrelMail breaks in new and creative ways.
  * Force magic_quotes_runtime off.
  * Force magic_quotes_runtime off.
- * chilts@birdbrained.org - I put it here in the hopes that all SM code includes this.
+ * tassium@squirrelmail.org - I put it here in the hopes that all SM code includes this.
  * If there's a better place, please let me know.
  * If there's a better place, please let me know.
  */
  */
 ini_set('magic_quotes_runtime','0');
 ini_set('magic_quotes_runtime','0');
 
 
+/* Since we decided all IMAP servers must implement the UID command as defined in
+ * the IMAP RFC, we force $uid_support to be on.
+ */
+
+global $uid_support;
+$uid_support = true;
+
 sqsession_is_active();
 sqsession_is_active();
 
 
 /* convert old-style superglobals to current method
 /* convert old-style superglobals to current method