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/metadata.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pages/metadata.inc') diff --git a/pages/metadata.inc b/pages/metadata.inc index adde5e7..04579a8 100644 --- a/pages/metadata.inc +++ b/pages/metadata.inc @@ -178,6 +178,8 @@ if ($member === null) { if (trim($metadata["species"][1]) === "") unset($metadata["species"][1]); file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $memberID . ".json", json_encode($metadata)); + file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/cache/navigation.json", "{}"); + file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/cache/home.json", "{}"); header("Location: /" . $_GET['_']); } else { -- cgit