【发布时间】:2011-02-21 02:14:02
【问题描述】:
请再次帮助我! 我对这段代码有疑问:
<?php
$pathThemes = INC_DIR . "themes";
$d = dir($pathThemes);
while (false !== ($entry = $d->read())) {
$fileInfo = pathinfo($pathThemes . '/' . $entry);
if ('php' == $fileInfo['extension']) {
include_once($pathThemes . '/' . $entry);
$name = $fileInfo['filename'];
if (!$GLOBALS['fc_config']['themes'][$name]['name']) {
unset($GLOBALS['fc_config']['themes'][$name]);
}
}
}
?>
它说我:
注意:未定义索引:第 10 行 C:\wamp\www\FlashChat_v607\chat\inc\include_themes.php 中的名称
注意:未定义索引:第 10 行 C:\wamp\www\FlashChat_v607\chat\inc\include_themes.php 中的名称
注意:未定义索引:第 10 行 C:\wamp\www\FlashChat_v607\chat\inc\include_themes.php 中的名称
注意:未定义索引:第 10 行 C:\wamp\www\FlashChat_v607\chat\inc\include_themes.php 中的名称
【问题讨论】:
-
仅供参考,因为您似乎对上一个问题得到了喜欢的答案,您应该返回并通过单击有效答案旁边的复选标记“接受”它。
标签: php