瀏覽代碼

This segment of code should be left in until at least Squirrelmail 1.7.x, to give plugins a chance to adapt to the $uid_support option being gone. Reversing Thijs's commit.

tassium 21 年之前
父節點
當前提交
ddc8f6ade3
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      functions/global.php

+ 7 - 0
functions/global.php

@@ -31,6 +31,13 @@ if(isset($session_name) && $session_name) {
  */
 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();
 
 /* if running with magic_quotes_gpc then strip the slashes