Self-Host

To Self-host @ https://link.flossboxin.org.in
This commit is contained in:
vdbhb59 2025-02-21 21:50:36 +05:30
commit c9898cf261
95 changed files with 5217 additions and 0 deletions

19
misc/footer.php Normal file
View file

@ -0,0 +1,19 @@
<div class="footer-container">
<a href="./">FbIN</a>
<a href="https://git.flossboxin.org.in/FbIN/LibreY/" target="_blank"><?php printtext("source_code_link");?></a>
<a href="./settings.php"><?php printtext("settings_link");?></a>
<?php if(!$opts->disable_api) {
echo '<a href="./api.php" target="_blank">', printtext("api_link"), '</a>';
} ?>
</div>
<div class="git-container">
<?php
if (file_exists(".git/refs/heads/main")) {
$hash = file_get_contents(".git/refs/heads/main");
}
echo "<a href='https://git.flossboxin.org.in/FbIN/LibreY/commit/$hash' target='_blank'>" . printftext("latest_commit", $hash) . "</a>";
?>
</div>
</body>
</html>