add sfiab version information, set it to 0.9 to start with

This commit is contained in:
james 2005-05-25 19:08:50 +00:00
parent b30e70aaad
commit db4a891b52
2 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,8 @@
*/ */
?> ?>
<? <?
$sfiabversion=@file("version.txt");
$config['version']=$sfiabversion[0];
//first things first - make sure our DB version matches our CODE version //first things first - make sure our DB version matches our CODE version
$dbcodeversion=@file("db/db.code.version.txt"); $dbcodeversion=@file("db/db.code.version.txt");
$dbdbversion=@file("db/db.db.version.txt"); $dbdbversion=@file("db/db.db.version.txt");
@ -368,10 +370,12 @@ if($title)
function send_footer() function send_footer()
{ {
global $config;
?> ?>
</div> </div>
<div id="footer"> <div id="footer">
<? print_r($_SESSION); ?> <? print_r($_SESSION); ?>
<? echo "SFIAB Version ".$config['version']; ?>
</div> </div>
</body> </body>

1
version.txt Normal file
View File

@ -0,0 +1 @@
0.9