Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | $configlog = $RENETCOL_HOME."config.log"; |
---|
4 | $CONFfinputLOG = fopen($configlog,'r'); |
---|
5 | |
---|
6 | print "<div id=\"contenu\">\n"; |
---|
7 | |
---|
8 | print "<p> Compilation options: \n"; |
---|
9 | |
---|
10 | while (!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 | |
---|
24 | print "</p> </div>\n"; |
---|
25 | |
---|
26 | fclose($CONFfinputLOG); |
---|
27 | ?> |
---|