From a88f89a4aab902deeb01ea7a6abad7c00daacdd1 Mon Sep 17 00:00:00 2001 From: "Michael D. Reiley" Date: Mon, 10 Oct 2011 03:40:31 -0700 Subject: Footer version string pulled from .installed --- inc/functions.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index 70e5eadd..464d22da 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -19,6 +19,10 @@ require $board['dir'] . '/config.php'; } + if(!isset($__version)) + $__version = trim(file_get_contents('.installed')); + $config['version'] = $__version; + if($config['debug']) { if(!isset($debug)) { $debug = Array('sql' => Array(), 'purge' => Array(), 'cached' => Array()); -- cgit v1.3