cvs: php4 /pear/HTML Menu_Browser.php
| From: | Jan Lehnardt | Date: | Mon, 31 Dec 2001 12:39:14 +0000 |
| Subject: | cvs: php4 /pear/HTML Menu_Browser.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1782@lists.php.net to get a copy of this message | ||
jan Mon Dec 31 07:39:14 2001 EDT
Modified files:
/php4/pear/HTML Menu_Browser.php
Log:
fix typo
Index: php4/pear/HTML/Menu_Browser.php
diff -u php4/pear/HTML/Menu_Browser.php:1.4 php4/pear/HTML/Menu_Browser.php:1.5
--- php4/pear/HTML/Menu_Browser.php:1.4 Tue Dec 11 10:31:26 2001
+++ php4/pear/HTML/Menu_Browser.php Mon Dec 31 07:39:13 2001
@@ -16,7 +16,7 @@
// | Authors: Ulf Wendel <ulf.wendel@phpdoc.de> |
// +----------------------------------------------------------------------+
//
-// $Id: Menu_Browser.php,v 1.4 2001/12/11 15:31:26 sebastian Exp $
+// $Id: Menu_Browser.php,v 1.5 2001/12/31 12:39:13 jan Exp $
/**
* Simple filesystem browser that can be used to generated menu (3) hashes based on the directory
structure.
@@ -45,7 +45,7 @@
* (title!). Subclass exploreFile() depending on your file format.
*
* @author Ulf Wendel <ulf.wendel@phpdoc.de>
-* @version $Id: Menu_Browser.php,v 1.4 2001/12/11 15:31:26 sebastian Exp $
+* @version $Id: Menu_Browser.php,v 1.5 2001/12/31 12:39:13 jan Exp $
*/
class HTML_Menu_Browser {
/**
@@ -184,7 +184,7 @@
continue;
}
$ffile = $dir . $file;
- if (is_dir($file)) {
+ if (is_dir($ffile)) {
$ffile .= '/';
if (file_exists($ffile . $this->index_file)) {
$id++;
@@ -248,4 +248,4 @@
return array('title' => $node->content);
}
}
-?>
\ No newline at end of file
+?>