From 0b0c6134312c1bce0c4bab1709edf3fbd00ccd23 Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 14 Feb 2013 08:34:05 +0100 Subject: [PATCH] fixed ref loader --- htdocs/lib/ProjectLoader.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/ProjectLoader.class.php b/htdocs/lib/ProjectLoader.class.php index 8c0c131..a5ebd74 100644 --- a/htdocs/lib/ProjectLoader.class.php +++ b/htdocs/lib/ProjectLoader.class.php @@ -115,7 +115,7 @@ class ProjectLoader { private function getProjectRefsRecursive(&$project, $cref) { if ($dh = opendir($project['path'].'/'.$cref)) { while (($file = readdir($dh)) !== false) { - if($file == '.' || $file == '..') + if($file[0] == '.') continue; if(is_dir($project['path'].'/'.$cref.'/'.$file)) $this->getProjectRefsRecursive($project, $cref.'/'.$file); -- 2.20.1