diff options
author | Minteck <contact@minteck.org> | 2023-01-02 20:29:01 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-01-02 20:29:01 +0100 |
commit | e72d0adbcd7e69928a1ef380c7a841c160284c68 (patch) | |
tree | 1b9b9c29bb4fd39b6bdf577375bb91be3b9d6be1 /pages/page.inc | |
parent | c9de96328e59816ff4867abf5feab9fb9bf29511 (diff) | |
download | pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.tar.gz pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.tar.bz2 pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.zip |
Update
Diffstat (limited to 'pages/page.inc')
-rw-r--r-- | pages/page.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/page.inc b/pages/page.inc index d13dd2f..f3859d3 100644 --- a/pages/page.inc +++ b/pages/page.inc @@ -38,11 +38,13 @@ $systemID = $system === "cloudburst" ? "ynmuc" : "gdapd"; if ($member === null) { global $_SystemName; $_SystemName = $system; + $pageFile = $_SERVER['DOCUMENT_ROOT'] . '/includes/system.inc'; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/system.inc'; } else if ($member === "-" && isset($parts[2])) { if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/includes/system/' . $parts[2] . '.inc')) { global $_SystemPage; $_SystemPage = $parts[2]; + $pageFile = $_SERVER['DOCUMENT_ROOT'] . '/includes/system/' . $parts[2] . '.inc'; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/system/' . $parts[2] . '.inc'; } else { header("Location: /?error=" . $lang["page"]["system"] . " " . $parts[2]) and die(); @@ -89,6 +91,7 @@ if ($member === null) { if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/includes/member/' . $parts[3] . '.inc')) { global $_MemberPage; $_MemberPage = $parts[3]; + $pageFile = $_SERVER['DOCUMENT_ROOT'] . '/includes/member/' . $parts[3] . '.inc'; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/member/' . $parts[3] . '.inc'; } else { header("Location: /?error=" . $lang["page"]["system"] . " " . $parts[3]) and die(); @@ -98,6 +101,7 @@ if ($member === null) { global $_MemberName; $_MemberName = $member; + $pageFile = $_SERVER['DOCUMENT_ROOT'] . '/includes/member.inc'; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/member.inc'; } |