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 /src | |
| parent | 64f0533dc1779e7cca5f2678f7ae560df8d922bb (diff) | |
feat: version
Diffstat (limited to 'src')
| -rw-r--r-- | src/version.php | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ +<?php +// please leave it as it is ;) +define("TINYEMOTES_NAME", "TinyEmotes"); +define("TINYEMOTES_VERSION", "0.1"); +define("TINYEMOTES_LINK", "https://github.com/ilotterytea/tinyemotes"); + +if ($s = file_get_contents("../.git/refs/heads/master")) { + define("TINYEMOTES_COMMIT", $s); +} else { + define("TINYEMOTES_COMMIT", null); +}
\ No newline at end of file |
