summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJonas Kohl2024-10-19 16:14:51 +0200
committerJonas Kohl2024-10-19 16:14:51 +0200
commit6687b7dee8201b1db5b9c2b0560f126a697ff3ab (patch)
tree662b91d82489c2cefacebdd3977afdf6c0c2cd9d /src/bin
parentd19ee8eb03f0cd89cf75cd148dc02f86841181a6 (diff)
Add version CLI commandHEADv0.6.1main
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/.htaccess1
-rwxr-xr-xsrc/bin/version6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/.htaccess b/src/bin/.htaccess
new file mode 100644
index 0000000..b66e808
--- /dev/null
+++ b/src/bin/.htaccess
@@ -0,0 +1 @@
+Require all denied
diff --git a/src/bin/version b/src/bin/version
new file mode 100755
index 0000000..18ad91f
--- /dev/null
+++ b/src/bin/version
@@ -0,0 +1,6 @@
+#!/usr/bin/env php
+<?php
+
+include __DIR__ . "/../application/appdef.php";
+
+echo MYSTICBB_VERSION;