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);