From 1551ea7c9bf58fb9ac2574975f4b83a2190d7877 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 20 Nov 2021 16:36:55 -0500 Subject: [PATCH] Initial work on making the update function functionable --- post.php | 6 ++++++ settings-update.php | 44 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/post.php b/post.php index 77917081..66891501 100644 --- a/post.php +++ b/post.php @@ -846,6 +846,12 @@ if(isset($_GET['download_database'])){ mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Settings', log_action = 'Downloaded', log_description = 'Database', log_created_at = NOW(), company_id = $session_company_id, log_user_id = $session_user_id"); } +if(isset($_GET['update'])){ + //Stuff will go here.. + //also check to make sure someone has admin before running this function + +} + if(isset($_POST['add_client'])){ $name = trim(strip_tags(mysqli_real_escape_string($mysqli,$_POST['name']))); diff --git a/settings-update.php b/settings-update.php index 40b1fcbb..33cbf3ad 100644 --- a/settings-update.php +++ b/settings-update.php @@ -2,15 +2,57 @@ +%h%ar%s'"); + +?> +

Update

-

Current Version
afkjgjfshgkfjg763g43g

+

Current Version

+
Update
NOW
+
+ + + + + + + + + + + + + +
CommitWhenChanges
+