aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/fn/fn.php3
-rw-r--r--composer.lock2
2 files changed, 2 insertions, 3 deletions
diff --git a/app/fn/fn.php b/app/fn/fn.php
index f5068fa..9c011ef 100644
--- a/app/fn/fn.php
+++ b/app/fn/fn.php
@@ -85,8 +85,7 @@ function idclean(string $input)
function getversion()
{
if(file_exists('VERSION')) {
- $composer = file_get_contents('VERSION');
- $version = $composer['version'];
+ $version = file_get_contents('VERSION');
} else {
$version = 'unknown';
}
diff --git a/composer.lock b/composer.lock
index 1b7f620..7aa580a 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
- "content-hash": "f9644fc739f56d4f7a89c3050f0771d4",
+ "content-hash": "0af1268a5134477e3b6be211b055ec59",
"packages": [
{
"name": "altorouter/altorouter",