summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-03 01:41:52 +0500
committerilotterytea <iltsu@alright.party>2025-05-03 01:41:52 +0500
commit00fd9ddb01e9632992ba21c80c36bb072de9273d (patch)
treec4bab71f5dfca75f0e2a1e81648d646d765ed3a5 /public
parent64f0533dc1779e7cca5f2678f7ae560df8d922bb (diff)
feat: version
Diffstat (limited to 'public')
-rw-r--r--public/index.php19
1 files changed, 17 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php
index 1b1c33b..11f48ee 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,6 +1,8 @@
<?php
include_once "../src/config.php";
include_once "../src/accounts.php";
+include_once "../src/version.php";
+
authorize_user();
?>
@@ -44,8 +46,21 @@ authorize_user();
?>
</div>
- <p style="font-size:12px;">Serving <?php echo $count ?> gorillion emotes - Running <a
- href="https://github.com/ilotterytea/alrighttv">AlrightTV v0.1</a></p>
+ <p style="font-size:12px;">
+ Serving <?php echo $count ?> gorillion emotes -
+ Running
+ <?php
+ echo '<a href="' . TINYEMOTES_LINK . '">';
+ echo sprintf("%s v%s", TINYEMOTES_NAME, TINYEMOTES_VERSION);
+ echo '</a> ';
+
+ if (TINYEMOTES_COMMIT != null) {
+ echo '<a href="' . sprintf("%s/tree/%s", TINYEMOTES_LINK, TINYEMOTES_COMMIT) . '">(Commit ';
+ echo substr(TINYEMOTES_COMMIT, 0, 7);
+ echo ')</a>';
+ }
+ ?>
+ </p>
</div>
</div>
</body>