From 651fb9f3bf383dd68f286aae41aa90bb3278247c Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 18 Feb 2023 00:10:38 +1100 Subject: [PATCH] Show version in the footer --- VERSION | 2 +- config/app.php | 2 +- .../architect/views/layouts/partials/contentfooter.blade.php | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 57ed889..8b13789 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -RELEASE-1.2.4 + diff --git a/config/app.php b/config/app.php index e5100ea..91383a7 100644 --- a/config/app.php +++ b/config/app.php @@ -17,7 +17,7 @@ return [ 'name' => 'PLA', 'name_html_long' => 'phpLDAPadmin', - 'version' => trim(file_get_contents(__DIR__.'/../public/VERSION')), + 'version' => (trim(file_get_contents(__DIR__.'/../public/VERSION')) ?? 'UNKNOWN').'-'.(trim(file_get_contents(__DIR__.'/../VERSION')) ?? 'UNKNOWN'), /* |-------------------------------------------------------------------------- diff --git a/resources/themes/architect/views/layouts/partials/contentfooter.blade.php b/resources/themes/architect/views/layouts/partials/contentfooter.blade.php index ef32cd3..f263c88 100644 --- a/resources/themes/architect/views/layouts/partials/contentfooter.blade.php +++ b/resources/themes/architect/views/layouts/partials/contentfooter.blade.php @@ -3,6 +3,9 @@