blob: 176c2860767bf33bc58f6e8fcbb3bdf568d57f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/* tree view example
*
* Usage: php tree.php <path>
*
* Simply specify the path to tree with parameter <path>.
*
* (c) Marcus Boerger
*/
require_once("sub_dir.inc");
foreach(new sub_dir($argv[1], true, isset($argv[2]) ? $argv[2] : false) as $f) {
echo "$f\n";
}
?>
|