diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-11 22:03:34 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-11 22:03:34 +0200 |
commit | eafc2b02a66838fdadb2da70d5b1a9aa04051de6 (patch) | |
tree | 7b11af8ce3a205d23aacc1847cc498b573527798 /pages | |
parent | d20d2621d153ce00125dfd66aadf4887e82c439c (diff) | |
download | pluralconnect-eafc2b02a66838fdadb2da70d5b1a9aa04051de6.tar.gz pluralconnect-eafc2b02a66838fdadb2da70d5b1a9aa04051de6.tar.bz2 pluralconnect-eafc2b02a66838fdadb2da70d5b1a9aa04051de6.zip |
Updated pages/travelling.inc (automated)
Diffstat (limited to 'pages')
-rw-r--r-- | pages/travelling.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |