diff options
author | Marvin Borner | 2018-10-30 18:41:29 +0100 |
---|---|---|
committer | Marvin Borner | 2018-10-30 18:41:29 +0100 |
commit | 39aa8530424310663c888f9e02224158961532e3 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /infrastructure/Version.php | |
parent | bd568608bcda0729044e823aedfa799e10692e14 (diff) |
PHP is crap
Diffstat (limited to 'infrastructure/Version.php')
-rw-r--r-- | infrastructure/Version.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/infrastructure/Version.php b/infrastructure/Version.php deleted file mode 100644 index 9ca7941..0000000 --- a/infrastructure/Version.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php - -namespace Infrastructure; - -class Version -{ - public static function getGitTag() - { - $versionFile = base_path('version.txt'); - return file_exists($versionFile) ? file_get_contents($versionFile) : exec('git describe --tags'); - } -} |