From 627edc92b17fb3d9d22c1184b7fd64ba3cb08e14 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 20 Nov 2021 16:45:50 -0500 Subject: [PATCH] Added Update Successful message and auto redirect back --- post.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/post.php b/post.php index 1031c217..20bf28ff 100644 --- a/post.php +++ b/post.php @@ -855,6 +855,10 @@ if(isset($_GET['update'])){ //exec("git fetch --all"); //exec("git reset --hard origin/master"); + $_SESSION['alert_message'] = "Update Successful!"; + + header("Location: " . $_SERVER["HTTP_REFERER"]); + } if(isset($_POST['add_client'])){