forked from science-ation/science-ation
Fix the SESSION debug output
This commit is contained in:
parent
ffd09ae67e
commit
a6ec8ef874
@ -429,9 +429,9 @@ if(substr($config['version'], -1) % 2 != 0)
|
|||||||
$revision=exec("svn info |grep Revision");
|
$revision=exec("svn info |grep Revision");
|
||||||
$extra=" (Development $revision)";
|
$extra=" (Development $revision)";
|
||||||
if($_SESSION['debug']=="true")
|
if($_SESSION['debug']=="true")
|
||||||
$extra.=" DEBUG: ".print_r($_SESSION,true);
|
$extradebug="<br />DEBUG SESSION: ".print_r($_SESSION,true);
|
||||||
}
|
}
|
||||||
echo "<a target=\"blank\" href=\"http://www.sfiab.ca\">SFIAB Version ".$config['version']."{$extra}</a>";
|
echo "<a target=\"blank\" href=\"http://www.sfiab.ca\">SFIAB Version ".$config['version']."{$extra}</a>{$extradebug}";
|
||||||
?>
|
?>
|
||||||
</div><!--footer-->
|
</div><!--footer-->
|
||||||
<div id="debug" style="display:<?=($_SESSION['debug']=='true')?'block':'none'?>; font-family:monospace; white-space:pre; " >Debug...</div>
|
<div id="debug" style="display:<?=($_SESSION['debug']=='true')?'block':'none'?>; font-family:monospace; white-space:pre; " >Debug...</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user