From bc520e10b6c1e57271d25c3caed541c65e3c11da Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 16 Apr 2016 18:45:21 +0100 Subject: oops --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 4e24aa5..30813cd 100644 --- a/index.php +++ b/index.php @@ -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'); } -- cgit v1.2.2