summaryrefslogtreecommitdiff
path: root/ext/spl/examples/tree.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-11-01 01:29:06 +0000
committerMarcus Boerger <helly@php.net>2004-11-01 01:29:06 +0000
commite0196d11a46a31f6dfdf42428e8e36eb59d55193 (patch)
tree3920e2d873a9d15d22eac6ec3c02803eef5eedcf /ext/spl/examples/tree.php
parent846666109bcceb9b19f02c3b9d915d811c7f4e36 (diff)
downloadphp-git-e0196d11a46a31f6dfdf42428e8e36eb59d55193.tar.gz
- Do not autoload if require does the trick
Diffstat (limited to 'ext/spl/examples/tree.php')
-rwxr-xr-xext/spl/examples/tree.php2
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)