From 02eda3e4c9b4ba718f1fff70b7328ed8cdd5e63b Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sun, 2 Apr 2023 23:03:02 +0200 Subject: Updated 35 files, added 11 files and deleted includes/components/search.inc (automated) --- pages/page.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/page.inc') diff --git a/pages/page.inc b/pages/page.inc index 8446062..931e6e5 100644 --- a/pages/page.inc +++ b/pages/page.inc @@ -2,7 +2,7 @@ global $lang; global $pages; global $isLoggedIn; global $isLowerLoggedIn; -$app = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); +$app = $GLOBALS["ColdHazeApp"]; $travelling = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/travelling/travelling.json"), true); if (!isset($_GET['_']) || trim($_GET['_']) === "") peh_error("Invalid request", 400); -- cgit