Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
Git master branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
<p><a href="http://www.perfwatcher.org/" target="_new"><img src="img/perfwatcher_label.png" /></a></p> | |||
|
|||
<p>Version : @VERSION@<!-- Version is set in top VERSION file --></p> | |||
<p>Author : Cyril Feraudet</p> | |||
<p>Licence : GPL version 2.0</p> | |||
|
|||
<p>Thanks to : </p> | |||
<p> | |||
<a href="http://collectd.org/" target="_new"><img src="img/collectd.png" /></a><br /> | |||
<a href="http://www.php.net/" target="_new"><img src="img/php.png" /></a><br /> | |||
<a href="http://jquery.com/" target="_new"><img src="img/jquery.png" /></a><br /> | |||
<a href="http://www.risacher.com/la-rache/index.php?z=2" target="_new"><img src="img/la-rache.png" /></a> | |||
</p> | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,32 @@ | |||
<?php # vim: set filetype=php fdm=marker sw=4 ts=4 tw=78 et : | |||
/** | |||
* | |||
* PHP version 5 | |||
* | |||
* LICENSE: This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation, either version 3 of the License, or | |||
* (at your option) any later version. | |||
* This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | |||
* You should have received a copy of the GNU General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | |||
* @category Monitoring | |||
* @author Yves Mettier <ymettier@free.fr> | |||
* @copyright 2013 Yves Mettier | |||
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 | |||
* @link http://www.perfwatcher.org/ | |||
*/ | |||
|
|||
$html = file_get_contents("html/version.html"); | |||
$version = file_get_contents("VERSION"); | |||
if(!$version) { | |||
$version = "(not found)"; | |||
} | |||
|
|||
print preg_replace("/@VERSION@/", $version, $html); | |||
|
|||
?> |