aboutsummaryrefslogtreecommitdiff
path: root/lib/bootstrap.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2021-10-14 14:31:04 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2021-10-14 14:31:15 +0200
commita6bec4eb66a267cea82f11a9862ca52259b4206a (patch)
treec0671b1b56adc86b063e050b304a88392b98a142 /lib/bootstrap.php
parentce00aa19ae543acf6955009fc7f4fe9c4b1539d1 (diff)
revert reading VERSION from file due to performance issues, fixes #321
Diffstat (limited to 'lib/bootstrap.php')
-rw-r--r--lib/bootstrap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bootstrap.php b/lib/bootstrap.php
index 4340474..3230562 100644
--- a/lib/bootstrap.php
+++ b/lib/bootstrap.php
@@ -13,7 +13,7 @@
const DEFAULT_ENV = 'production';
//software version - please leave it as it is!
-$SOFTWARE_VERSION = explode(' ', trim(file_get_contents(__DIR__ . '/../VERSION')), 2)[1];
+$SOFTWARE_VERSION = '5.0.alpha-svn';
// Store startup time
$STUDIP_STARTUP_TIME = microtime(true);