librex/misc/footer.php

16 lines
541 B
PHP

<!-- <div class="footer-container">
<a href="./">LibreX</a>
<a href="https://github.com/hnhx/librex/" target="_blank">Source &amp; Instances</a>
<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
$hash = file_get_contents(".git/refs/heads/main");
echo "<a href=\"https://github.com/hnhx/librex/commit/$hash\" target=\"_blank\">Ultimo commit: $hash</a>";
?>
</div>
</body>
</html>