librex/misc/footer.php

16 lines
615 B
PHP
Raw Normal View History

2023-02-03 21:01:28 +00:00
<!-- <div class="footer-container">
<a href="./">LibreX</a>
2023-02-03 21:07:27 +00:00
<a href="https://git.lamacchinadesiderante.org/lamacchinadesiderante/librex/" target="_blank">Source &amp; Instances</a>
2023-02-03 21:01:28 +00:00
<a href="./settings.php">Settings</a>
<a href="./api.php" target="_blank">API</a>
<a href="./donate.php">Donate ❤️</a>
</div> -->
<div class="git-container">
<?php
2023-02-03 21:07:27 +00:00
$hash = file_get_contents(".git/refs/heads/master");
echo "<a href=\"https://git.lamacchinadesiderante.org/lamacchinadesiderante/librex/commit/$hash\" target=\"_blank\">Ultimo commit: $hash</a>";
2023-02-03 21:01:28 +00:00
?>
</div>
</body>
</html>