IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41731


Ignore:
Timestamp:
Jul 29, 2021, 3:09:38 PM (5 years ago)
Author:
eugene
Message:

read the svnversion from the version.php file generated on each build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/czartool_labels.php

    r41730 r41731  
    203203
    204204// status table at top
    205 // XXX hard-wired path: BAD
    206 exec("svnversion /data/ippc64.1/ippitc/ippMonitor", $svnversion);
     205$svnversion = file_get_contents('version.php', true); // read the version from version.php, update on each build
    207206$phpversion = phpversion();
    208207$ganglia = "http://ganglia.pan-starrs.ifa.hawaii.edu";
     
    218217echo "<tr><td>ippMonitor Notes </td>
    219218          <td> PHP: v.$phpversion
    220   &nbsp|&nbsp <a href=\"$svnlink/browser/trunk/ippMonitor\" target=new><font color=\"blue\">SVN: v.$svnversion[0]</font></a>
     219  &nbsp|&nbsp <a href=\"$svnlink/browser/trunk/ippMonitor\" target=new><font color=\"blue\">SVN: v.$svnversion</font></a>
    221220  &nbsp|&nbsp <a href=\"$jiralink/browse/IPP-86\" target=new><font color=\"blue\">Jira</font></a>
    222221  &nbsp|&nbsp <a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/czartool_labels.php?pass=$pass&proj=$proj\"><font color=\"blue\">online</font></a>,
Note: See TracChangeset for help on using the changeset viewer.