Footer version string pulled from .installed

This commit is contained in:
Michael D. Reiley 2011-10-10 03:40:31 -07:00
parent f6a4997780
commit a88f89a4aa
4 changed files with 7 additions and 3 deletions

View file

@ -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());