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'])){