diff options
| author | ilotterytea <iltsu@alright.party> | 2025-05-03 01:41:52 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-05-03 01:41:52 +0500 |
| commit | 00fd9ddb01e9632992ba21c80c36bb072de9273d (patch) | |
| tree | c4bab71f5dfca75f0e2a1e81648d646d765ed3a5 /public | |
| parent | 64f0533dc1779e7cca5f2678f7ae560df8d922bb (diff) | |
feat: version
Diffstat (limited to 'public')
| -rw-r--r-- | public/index.php | 19 |
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> |
