From deb20fdfca35c64066fe4e375099350dc77ea408 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 22 May 2023 15:18:52 -0500 Subject: initial commit --- _functions/submitComment.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 _functions/submitComment.php (limited to '_functions/submitComment.php') diff --git a/_functions/submitComment.php b/_functions/submitComment.php new file mode 100644 index 0000000..d96d39a --- /dev/null +++ b/_functions/submitComment.php @@ -0,0 +1,25 @@ +saveComment('_data/comments.json'); + + // Send the user back + header('Location: ' . $postURL . '#comments'); +} \ No newline at end of file -- cgit v1.2.3-70-g09d2