Skip to content

Commit

Permalink
#385: improved method call, binding to get variable action
Browse files Browse the repository at this point in the history
  • Loading branch information
YaWK committed Mar 14, 2023
1 parent 90e682f commit 485f320
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions admin/includes/update.php
Expand Up @@ -38,12 +38,15 @@
<div class="box-body">
<a href="#update" id="update" class="btn btn-success pull-right"><i class="fa fa-refresh"></i> &nbsp;<?php echo $lang['UPDATE_CHECK']; ?></a>
<h3 class="box-title"><?php echo $lang['UPDATE_CURRENT_INSTALLED_VERSION']; echo ' '; echo \YAWK\settings::getSetting($db,'yawkversion');?> </h3>
<br>

<hr>
<?php
// CHECK FOR UPDATES
$update = new update($db);
$update->readFilebase($db, $lang);
if (isset($_GET['readFilebase']) && ($_GET['readFilebase'] == 1))
{
echo '<h3 class="box-title">Filebase <small>of your installation '.\YAWK\backend::printTooltip('Der Updater prüft die Dateibasis Deiner Installation, um die Intigrität mit den Daten des Update zu vergleichen. ').'</small></h3>';
$update->readFilebase($db, (array)$lang);
}

?>

Expand Down

0 comments on commit 485f320

Please sign in to comment.