Show version in the footer

This commit is contained in:
Deon George
2023-02-18 00:10:38 +11:00
parent cb55a660e5
commit 651fb9f3bf
3 changed files with 5 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ return [
'name' => 'PLA',
'name_html_long' => '<b>php</b>LDAPadmin',
'version' => trim(file_get_contents(__DIR__.'/../public/VERSION')),
'version' => (trim(file_get_contents(__DIR__.'/../public/VERSION')) ?? 'UNKNOWN').'-'.(trim(file_get_contents(__DIR__.'/../VERSION')) ?? 'UNKNOWN'),
/*
|--------------------------------------------------------------------------