cvs: phpweb /include prepend.inc
| From: | Hannes Magnusson | Date: | Fri, 02 Mar 2007 14:53:46 +0000 |
| Subject: | cvs: phpweb /include prepend.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34522@lists.php.net to get a copy of this message | ||
bjori Fri Mar 2 14:53:46 2007 UTC
Modified files:
/phpweb/include prepend.inc
Log:
Make sure we don't have runtime magic quoting enabled
http://cvs.php.net/viewvc.cgi/phpweb/include/prepend.inc?r1=1.37&r2=1.38&diff_format=u
Index: phpweb/include/prepend.inc
diff -u phpweb/include/prepend.inc:1.37 phpweb/include/prepend.inc:1.38
--- phpweb/include/prepend.inc:1.37 Tue Sep 12 12:05:43 2006
+++ phpweb/include/prepend.inc Fri Mar 2 14:53:46 2007
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: prepend.inc,v 1.37 2006/09/12 12:05:43 goba Exp $
+// $Id: prepend.inc,v 1.38 2007/03/02 14:53:46 bjori Exp $
// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
// for cache control header descriptions (used in many places on the site).
@@ -25,6 +25,8 @@
// Put the magic quotes setting to $MQ
$MQ = (boolean) get_magic_quotes_gpc();
+// Turn off runtime magic quoting
+set_magic_quotes_runtime(0);
// Check for APC support
$APC = function_exists('apc_store');