<a href = 'admin_groups.php'>Add/edit/delete groups</a><br> <a href = 'admin_locations.php'>Add/edit/delete locations</a><br> </p> <p> <?php include '../inc/version.php'; include '../inc/git.php'; $current_version = BitsandVersion::get(); $git = new GithubRepository('PeteAUK/bitsand'); $git_version = $git->getLatestTag(); if (!$git->connected()) { ?> Unable to connect with Git Repository, please ensure the server has CURL available.<br/> <?php } elseif (!BitsandVersion::under($git_version)) { ?> You are running on the latest version of Bitsand (v<?php echo $current_version; ?> )<br/> <?php } elseif ($git->gitControlled()) { ?> There is a newer version of Bitsand available: v<?php echo $git_version; ?> , please update using <span style="font-family:monospace;">git pull origin master --tag <?php echo $git->getLatestTag(false); ?> </span><br/>
include '../inc/inc_head_html.php'; ?> <script src="../inc/sorttable.js" type="text/javascript"></script> <h1><?php echo TITLE; ?> - Update Core</h1> <?php include '../inc/version.php'; include '../inc/git.php'; $git = new GithubRepository('PeteAUK/bitsand'); $git_version = $git->getLatestTag(); $success = false; if (BitsandVersion::under($git_version)) { if ($git->gitControlled()) { ?> <p>Your installation of Bitsand is version controlled using Git. Please execute the following command to update to the latest version:</p> <code>git pull origin master --tag v<?php echo $git->getLatestTag(false); ?> </code> <?php } else { if ($git->update($git_version)) { ?> <p class="success">Success: Bitsand has been successfully updated</p> <?php } else { ?>