summaryrefslogtreecommitdiffstats
path: root/app/app.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rdalverny@gmail.com>2022-01-11 12:19:28 +0100
committerRomain d'Alverny <rdalverny@gmail.com>2022-01-11 12:19:28 +0100
commit2b3469a29cb78f07500ea929dfae97570235cd9c (patch)
tree84eee0f427075ff66d4833a6ed52bd3d6ff6bddd /app/app.php
parent192e39a1fed4a6bc52c74b4a732c34740f189f12 (diff)
downloadplanet-2b3469a29cb78f07500ea929dfae97570235cd9c.tar
planet-2b3469a29cb78f07500ea929dfae97570235cd9c.tar.gz
planet-2b3469a29cb78f07500ea929dfae97570235cd9c.tar.bz2
planet-2b3469a29cb78f07500ea929dfae97570235cd9c.tar.xz
planet-2b3469a29cb78f07500ea929dfae97570235cd9c.zip
Show version in admin & footer
Diffstat (limited to 'app/app.php')
-rwxr-xr-xapp/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/app.php b/app/app.php
index 0797cc7..f82b262 100755
--- a/app/app.php
+++ b/app/app.php
@@ -5,7 +5,7 @@ error_reporting(0);
require_once __DIR__.'/../vendor/autoload.php';
$savedConfig = __DIR__.'/../custom/config.yml';
-$moon_version = file_get_contents(__DIR__.'/../VERSION');
+$moon_version = trim(file_get_contents(__DIR__.'/../VERSION'));
session_start();