From f85c96ebbf2784182454c97ab1974823a279b68a Mon Sep 17 00:00:00 2001 From: Pascal Chevrel Date: Thu, 3 May 2012 08:49:59 +0200 Subject: display moonmoon version in title bar of the administration panel, make the version number a variable --- app/app.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/app.php') 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)){ -- cgit v1.2.1