diff --git a/index.php b/index.php
index 44b97c6..0f33050 100644
--- a/index.php
+++ b/index.php
@@ -39,7 +39,7 @@
printf( '
', $dirname );
- foreach( glob( $d ) as $file ) {
+ foreach( glob( $d, GLOB_ONLYDIR ) as $file ) {
$project = basename($file);