Force magic_quotes_runtime to be off, since SquirrelMail breaks badly if it's on.
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 26 Nov 2002 14:40:19 +0000 (14:40 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 26 Nov 2002 14:40:19 +0000 (14:40 +0000)
If there's a better place to put this, someone let me know.

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

functions/global.php

index 18da5f5fcd5aedea95fb3d7c76dc40ab1fc7892a..c50f154c8e80ea4c251f72f53204e5b4f839ca34 100644 (file)
  * $Id$
  */
 
+# 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.
+# If there's a better place, please let me know.
+ini_set('magic_quotes_runtime','0');
 
 /* convert old-style superglobals to current method
  * this is executed if you are running PHP 4.0.x.