cvs: phpweb / manual-lookup.php
| From: | Jim Winstead | Date: | Fri, 21 Sep 2001 02:35:05 +0000 |
| Subject: | cvs: phpweb / manual-lookup.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6519@lists.php.net to get a copy of this message | ||
jimw Thu Sep 20 22:35:05 2001 EDT
Modified files:
/phpweb manual-lookup.php
Log:
remove magic quotes here, too
Index: phpweb/manual-lookup.php
diff -u phpweb/manual-lookup.php:1.15 phpweb/manual-lookup.php:1.16
--- phpweb/manual-lookup.php:1.15 Fri Jul 6 21:17:34 2001
+++ phpweb/manual-lookup.php Thu Sep 20 22:35:04 2001
@@ -4,7 +4,11 @@
require_once 'manual-lookup.inc';
if (!$function && $pattern) $function = $pattern;
+
+if (get_magic_quotes_gpc()) $function = stripslashes($function);
+
$function = strtolower($function);
+
if (!isset($lang)) $lang = default_language();
$file = find_manual_page($lang, $function);