Make the footer only show debugging information if we're using a debug/testing version, aka version number is odd

This commit is contained in:
james 2005-12-14 21:00:02 +00:00
parent 82b91e0429
commit 017e1c58c0

View File

@ -469,8 +469,14 @@ global $config;
?> ?>
</div> </div>
<div id="footer"> <div id="footer">
<? print_r($_SESSION); ?> <?
<? echo "SFIAB Version ".$config['version']; ?> //we only show the debug session variables if we have an ODD numbered version.
$lastdigit=$config['version'][strlen($config['version']-1)];
if($lastdigit%2!=0)
print_r($_SESSION);
echo "SFIAB Version ".$config['version'];
?>
</div> </div>
</body> </body>