From: tassium Date: Tue, 26 Nov 2002 14:40:19 +0000 (+0000) Subject: Force magic_quotes_runtime to be off, since SquirrelMail breaks badly if it's on. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f660901f165a22a67c7fa544fce5b6e811beb57;p=squirrelmail.git 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. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4198 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/global.php b/functions/global.php index 18da5f5f..c50f154c 100644 --- a/functions/global.php +++ b/functions/global.php @@ -13,6 +13,11 @@ * $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.