Sfoglia il codice sorgente

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 anni fa
parent
commit
ddc8f6ade3
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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