We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe9059c commit 81c30c8Copy full SHA for 81c30c8
class/RRD.php
@@ -81,6 +81,9 @@ public static function getDSOption($dsname){
81
}
82
83
public static function createRRDGraph($filename,$options){
84
+ $config = json_decode(file_get_contents("config.json"),true);
85
+ $options[] = "--watermark";
86
+ $options[] = $config["communityName"]." - ".date("c");
87
$ret = rrd_graph($filename,$options);
88
echo rrd_error();
89
0 commit comments