Moved Functions above check login so that check login can use some of the functions, Moved Fingerprinting to check login instead of in functions as its a more appropriate place

This commit is contained in:
johnnyq
2021-12-22 17:24:54 -05:00
parent 610eeca0a1
commit 25b5cb3d40
5 changed files with 34 additions and 88 deletions

View File

@@ -27,10 +27,11 @@ $git_log = shell_exec("git log master..origin/master --pretty=format:'<tr><td>%h
<center>
<h5><small class="text-secondary">Current Version</small><br><?php echo $current_version; ?></h5>
<?php if(!empty($git_log)){ ?>
<a class="btn btn-primary btn-lg my-4" href="post.php?update"><i class="fa fa-fw fa-4x fa-check-square"></i><br>Update<br>NOW</a>
<a class="btn btn-primary btn-lg my-4" href="post.php?update"><i class="fa fa-fw fa-4x fa-check-square"></i><br>Update<br>App</a>
<?php
}else{
?>
<a class="btn btn-dark btn-lg my-4" href="post.php?update_db"><i class="fa fa-fw fa-4x fa-check-square"></i><br>Update<br>Database Structure</a>
<h3 class="text-success">Congratulations you are up to date!</h3>
<?php
}