diff options
author | Pascal Chevrel <pascal@chevrel.org> | 2012-05-03 08:49:59 +0200 |
---|---|---|
committer | Pascal Chevrel <pascal@chevrel.org> | 2012-05-03 08:49:59 +0200 |
commit | f85c96ebbf2784182454c97ab1974823a279b68a (patch) | |
tree | 88d47ff955ee300d18110d1bbb47403d989f2a01 /app/app.php | |
parent | b757fea1b740740fc63d0f1409b2f334b00fe6e8 (diff) | |
download | planet-f85c96ebbf2784182454c97ab1974823a279b68a.tar planet-f85c96ebbf2784182454c97ab1974823a279b68a.tar.gz planet-f85c96ebbf2784182454c97ab1974823a279b68a.tar.bz2 planet-f85c96ebbf2784182454c97ab1974823a279b68a.tar.xz planet-f85c96ebbf2784182454c97ab1974823a279b68a.zip |
display moonmoon version in title bar of the administration panel, make the version number a variable
Diffstat (limited to 'app/app.php')
-rwxr-xr-x | app/app.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/app.php b/app/app.php index f2795ab..0703ac5 100755 --- a/app/app.php +++ b/app/app.php @@ -19,7 +19,8 @@ include_once(dirname(__FILE__).'/classes/PlanetError.php'); include_once(dirname(__FILE__).'/classes/Planet.class.php'); include_once(dirname(__FILE__).'/classes/Simplel10n.class.php'); -$savedConfig = dirname(__FILE__).'/../custom/config.yml'; +$savedConfig = dirname(__FILE__).'/../custom/config.yml'; +$moon_version = file_get_contents(dirname(__FILE__).'/../VERSION'); if (is_file($savedConfig)){ |