diff options
| author | Marcus Boerger <helly@php.net> | 2004-11-01 01:29:06 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-11-01 01:29:06 +0000 |
| commit | e0196d11a46a31f6dfdf42428e8e36eb59d55193 (patch) | |
| tree | 3920e2d873a9d15d22eac6ec3c02803eef5eedcf /ext/spl/examples/tree.php | |
| parent | 846666109bcceb9b19f02c3b9d915d811c7f4e36 (diff) | |
| download | php-git-e0196d11a46a31f6dfdf42428e8e36eb59d55193.tar.gz | |
- Do not autoload if require does the trick
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 96a6ccde20..a9f6d8beaf 100755 --- a/ext/spl/examples/tree.php +++ b/ext/spl/examples/tree.php @@ -28,7 +28,7 @@ EOF; exit(1); } -if (!class_exists("DirectoryTreeIterator")) require_once("directorytreeiterator.inc"); +if (!class_exists("DirectoryTreeIterator", false)) require_once("directorytreeiterator.inc"); echo $argv[1]."\n"; foreach(new DirectoryTreeIterator($argv[1]) as $file) |
