cvs: phpweb /include prepend.inc
| From: | Gabor Hojtsy | Date: | Sat, 21 Dec 2002 11:09:50 +0000 |
| Subject: | cvs: phpweb /include prepend.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14367@lists.php.net to get a copy of this message | ||
goba Sat Dec 21 06:09:50 2002 EDT
Modified files:
/phpweb/include prepend.inc
Log:
Adding MQ variable used instead of
calling get_magic_quotes_gpc, because it's short ;)
Index: phpweb/include/prepend.inc
diff -u phpweb/include/prepend.inc:1.12 phpweb/include/prepend.inc:1.13
--- phpweb/include/prepend.inc:1.12 Sat Dec 14 14:38:03 2002
+++ phpweb/include/prepend.inc Sat Dec 21 06:09:50 2002
@@ -17,6 +17,9 @@
$_REQUEST = array_merge($_GET, $_POST, $_COOKIE);
}
+// Put the magic quotes setting to $MQ
+$MQ = (boolean) get_magic_quotes_gpc();
+
// Load in always required parts
include_once 'site.inc';
include_once 'layout.inc';