diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:19:28 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:19:28 +0100 |
commit | 2b3469a29cb78f07500ea929dfae97570235cd9c (patch) | |
tree | 84eee0f427075ff66d4833a6ed52bd3d6ff6bddd /app/app.php | |
parent | 192e39a1fed4a6bc52c74b4a732c34740f189f12 (diff) | |
download | planet-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-x | app/app.php | 2 |
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(); |