diff options
Diffstat (limited to 'pages/metadata.inc')
-rw-r--r-- | pages/metadata.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |