diff --git a/common.inc.php b/common.inc.php index 60b1231..e9b2d88 100644 --- a/common.inc.php +++ b/common.inc.php @@ -22,6 +22,8 @@ */ ?> +$sfiabversion=@file("version.txt"); +$config['version']=$sfiabversion[0]; //first things first - make sure our DB version matches our CODE version $dbcodeversion=@file("db/db.code.version.txt"); $dbdbversion=@file("db/db.db.version.txt"); @@ -368,10 +370,12 @@ if($title) function send_footer() { +global $config; ?>