root/trunk/web/conf/opt.php @ 127

Revision 124, 0.5 KB (checked in by andreu, 13 years ago)

ticket #44

Line 
1<?php
2
3$configlog = $RENETCOL_HOME."config.log";
4$CONFfinputLOG = fopen($configlog,'r');
5
6print "<div id=\"contenu\">\n";
7
8print "<p> Compilation options: \n";
9
10while (!feof ($CONFfinputLOG)) {
11  $CONFline = fgets($CONFfinputLOG, 512);
12  if (strstr($CONFline,"$ ./configure") != FALSE) {
13    $CONFline_split = split(" ",$CONFline);
14    foreach ($CONFline_split as $key => $value) {
15      if (strstr($value,"enable") != FALSE) {
16    print "<li>\n";
17    print "$value\n";
18    print "</li>\n";
19      }
20    }
21  }
22 }
23
24print "</p> </div>\n";
25
26fclose($CONFfinputLOG);
27?>
Note: See TracBrowser for help on using the browser.