Made sure $uid_support is forced true for those who didn't use conf.pl to edit their...
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 30 Sep 2003 19:24:45 +0000 (19:24 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 30 Sep 2003 19:24:45 +0000 (19:24 +0000)
Corrected email address in a comment from ages ago.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5803 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/global.php

index 955c53629b8e8b936098f050f612091ae75ae937..d4e5c535d32fff7938efeae9b3c4bd1446cde00f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * globals.php
+ * global.php
  *
  * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * 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.
  * 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.
  */
 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();
 
 /* convert old-style superglobals to current method