diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ function classify($root, $dirname, $filename) { $classes = array(); if (count($parts) == 0) { // in the top-level - if (is_dir($filename.'/os')) { + if (is_dir($root.'/'.$dirname.'/'.$filename.'/os')) { array_push($classes, 'repo'); if (in_array($filename, $repos_arch_project )) { array_push($classes, 'arch'); } if (in_array($filename, $repos_para_project )) { array_push($classes, 'para'); } |