From a6bec4eb66a267cea82f11a9862ca52259b4206a Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+github@gmail.com> Date: Thu, 14 Oct 2021 14:31:04 +0200 Subject: [PATCH] revert reading VERSION from file due to performance issues, fixes #321 --- lib/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootstrap.php b/lib/bootstrap.php index 4340474a82b..3230562e9c5 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); -- GitLab