From 00fd9ddb01e9632992ba21c80c36bb072de9273d Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 3 May 2025 01:41:52 +0500 Subject: feat: version --- public/index.php | 19 +++++++++++++++++-- src/version.php | 11 +++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 src/version.php 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 @@ @@ -44,8 +46,21 @@ authorize_user(); ?> -

Serving gorillion emotes - Running AlrightTV v0.1

+

+ Serving gorillion emotes - + Running + '; + echo sprintf("%s v%s", TINYEMOTES_NAME, TINYEMOTES_VERSION); + echo ' '; + + if (TINYEMOTES_COMMIT != null) { + echo '(Commit '; + echo substr(TINYEMOTES_COMMIT, 0, 7); + echo ')'; + } + ?> +

diff --git a/src/version.php b/src/version.php new file mode 100644 index 0000000..7dacf0b --- /dev/null +++ b/src/version.php @@ -0,0 +1,11 @@ +