diff options
Diffstat (limited to 'includes/system/tree.inc')
-rw-r--r-- | includes/system/tree.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/system/tree.inc b/includes/system/tree.inc index c3cc5c4..92e7c08 100644 --- a/includes/system/tree.inc +++ b/includes/system/tree.inc @@ -1,4 +1,4 @@ -<?php global $system; global $systemCommonName; global $systemID; $title = "System tree · " . $systemCommonName; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; +<?php global $system; global $systemCommonName; global $systemID; $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pages.json"), true); $title = $pages["s:tree"]["name"] . " · " . $systemCommonName; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; $members = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/members.json"), true); $members = scoreOrder($members, $systemID); |