From eafc2b02a66838fdadb2da70d5b1a9aa04051de6 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 11 Apr 2023 22:03:34 +0200 Subject: Updated pages/travelling.inc (automated) --- pages/travelling.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pages/travelling.inc') diff --git a/pages/travelling.inc b/pages/travelling.inc index 6d8db7b..687b9f2 100644 --- a/pages/travelling.inc +++ b/pages/travelling.inc @@ -97,6 +97,9 @@ if (isset($_GET['toggleTravel']) && $isLoggedIn) { } } + file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/cache/navigation.json", "{}"); + file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/cache/home.json", "{}"); + header("Location: /-/travelling"); file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/travelling/travelling.json", utf8_encode(json_encode($travelling, JSON_PRETTY_PRINT))); die(); -- cgit