cvs: php-bugs-web / index.php
| From: | Rasmus Lerdorf | Date: | Fri, 21 Sep 2001 04:48:42 +0000 |
| Subject: | cvs: php-bugs-web / index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6523@lists.php.net to get a copy of this message | ||
rasmus Fri Sep 21 00:48:42 2001 EDT
Modified files:
/php-bugs-web index.php
Log:
Don't use require here, and definitely don't use a _once since it is
being included inside a function and thus the $items will be locally
scoped.
Index: php-bugs-web/index.php
diff -u php-bugs-web/index.php:1.1 php-bugs-web/index.php:1.2
--- php-bugs-web/index.php:1.1 Thu Sep 20 20:59:45 2001
+++ php-bugs-web/index.php Fri Sep 21 00:48:42 2001
@@ -583,7 +583,7 @@
function show_types($current,$show_any,$default="")
{
- require_once 'bugtypes.inc';
+ include 'bugtypes.inc';
if (!$current && !$default && !$show_any) {
echo "<option value=\"Unknown/Other Function\">--Please
Select--</option>\n";