diff options
| author | Marcus Boerger <helly@php.net> | 2003-08-14 21:14:04 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-08-14 21:14:04 +0000 |
| commit | 175c25c2a8a63129f8eda39b67b1c97f80fb1030 (patch) | |
| tree | ba1bd1b3fee3dd50e6f90400b9f0a85fd2672df6 /ext/spl/examples/tree.php | |
| parent | 29c434b4b7752cb252030dd993fc3b6474739bca (diff) | |
| download | php-git-175c25c2a8a63129f8eda39b67b1c97f80fb1030.tar.gz | |
Add 'graphical' tree mode
Diffstat (limited to 'ext/spl/examples/tree.php')
| -rwxr-xr-x | ext/spl/examples/tree.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/examples/tree.php b/ext/spl/examples/tree.php index d5f54c3354..a0149bc18d 100755 --- a/ext/spl/examples/tree.php +++ b/ext/spl/examples/tree.php @@ -11,7 +11,7 @@ require_once("sub_dir.inc"); -foreach(new sub_dir($argv[1]) as $f) { +foreach(new sub_dir($argv[1], true, isset($argv[1]) ? $argv[1] : false) as $f) { echo "$f\n"; } |
