librex/misc/footer.php

16 lines
615 B
PHP

<!-- <div class="footer-container">
<a href="./">LibreX</a>
<a href="https://git.lamacchinadesiderante.org/lamacchinadesiderante/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/master");
echo "<a href=\"https://git.lamacchinadesiderante.org/lamacchinadesiderante/librex/commit/$hash\" target=\"_blank\">Ultimo commit: $hash</a>";
?>
</div>
</body>
</html>