forked from science-ation/science-ation
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:
parent
82b91e0429
commit
017e1c58c0
@ -469,8 +469,14 @@ global $config;
|
||||
?>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user