summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-16 18:45:21 +0100
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-16 18:45:21 +0100
commitbc520e10b6c1e57271d25c3caed541c65e3c11da (patch)
tree2765465fa940468806b26275b134b29d47edc2bd
parent1799f4bead5cc0cc155543d641b0254a0e037308 (diff)
oops
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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'); }