fix: include version variable inside containers

This commit is contained in:
jo 2022-09-21 14:40:53 +02:00 committed by Kyle Robbertze
parent 956d19ec95
commit 09a75570f3
4 changed files with 27 additions and 0 deletions

View file

@ -403,6 +403,10 @@ class Config
}
}
if (getenv('LIBRETIME_VERSION')) {
$version = trim(getenv('LIBRETIME_VERSION'));
}
self::$legacy_values['airtime_version'] = $version;
}