cvs: phpweb /include prepend.inc
| From: | Gabor Hojtsy | Date: | Mon, 06 Jan 2003 10:43:27 +0000 |
| Subject: | cvs: phpweb /include prepend.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14780@lists.php.net to get a copy of this message | ||
goba Mon Jan 6 05:43:27 2003 EDT
Modified files:
/phpweb/include prepend.inc
Log:
Prevent the ENV language setting coming up in $LANG, when it is not set otherwise...
Index: phpweb/include/prepend.inc
diff -u phpweb/include/prepend.inc:1.15 phpweb/include/prepend.inc:1.16
--- phpweb/include/prepend.inc:1.15 Fri Jan 3 08:57:10 2003
+++ phpweb/include/prepend.inc Mon Jan 6 05:43:26 2003
@@ -6,6 +6,7 @@
// Prevent cross site scripting problems
unset($RSIDEBAR_DATA);
unset($SIDEBAR_DATA);
+unset($LANG);
// Backward compatible array creation. After this point, the
// PHP 4.1.0+ arrays can be used to access variables coming