We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c969fe commit 6609ea7Copy full SHA for 6609ea7
CHANGELOG.md
@@ -1,3 +1,6 @@
1
+# v1.0.3, 2015-11-03
2
+* Fixed bug in Dir::scan()
3
+
4
# v1.0.2, 2015-10-28
5
* Added Composer support
6
* Documentation updates
Dir.php
@@ -141,7 +141,7 @@ public static function scan($dir)
141
if (is_dir($dir)&&$dh=opendir($dir)) {
142
$f=array();
143
while ($fn=readdir($dh)) {
144
- if ($fn!='.'&&$fn!='..'&&is_dir($dir.DS.$fn)) {
+ if ($fn!='.'&&$fn!='..'&&is_dir($dir.'/'.$fn)) {
145
$f[]=$fn;
146
}
147
0 commit comments