Procházet zdrojové kódy

Force magic_quotes_runtime to be off, since SquirrelMail breaks badly if it's on.
If there's a better place to put this, someone let me know.

tassium před 22 roky
rodič
revize
108d7b4616
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      functions/global.php

+ 5 - 0
functions/global.php

@@ -13,6 +13,11 @@
  * $Id$
  * $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
 /* convert old-style superglobals to current method
  * this is executed if you are running PHP 4.0.x.
  * this is executed if you are running PHP 4.0.x.