summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/version.php11
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