As mentioned, it is listed in the "Prepare Bug Report" section. I checked that script and it is a simple call. So I grabbed that chunk of code, opened check.php (the Installation Check script) and plugged in the version check code, tweaked the table output, and now can see the Resource Space version along with the PHP version, et al. If someone with the power to do so would be so kind as to tweak the source, I'm sure it would be appreciated by all.
For those who don't mind dabbling in their own installation, open check.php and locate the line
# Check PHP version
and insert the code from the admin_reportbug.php script, along with the formating to display the result in the table.
# Check ResourceSpace Build
$build = '';
if ($productversion == 'SVN'){
$p_version = 'Trunk (SVN)'; # Should not be translated as this information is sent to the bug tracker.
//Try to run svn info to determine revision number
$out = array();
exec('svn info ../../', $out);
foreach($out as $outline){
$matches = array();
if (preg_match('/^revision: (\d+)/i', $outline, $matches)!=0){
$build = $matches[1];
}
}
}
else {
#Extract build number from productversion
if (preg_match('/^(\d+)\.(\d+)\.(\d+)/', $productversion, $matches)!=0){
$build = $matches[3];
}
}
# ResourceSpace version
$p_version = $productversion == 'SVN'?'Trunk (SVN)':$productversion; # Should not be translated as this information is sent to the bug tracker.
?><tr><td><?php echo str_replace("?", "ResourceSpace", $lang["softwareversion"]); ?></td><td><?php echo $p_version?></td><td><br /></td></tr><?php
Bruce in Blacksburg
Virginia Tech Webmaster