[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21566 - gauger/web
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21566 - gauger/web |
Date: |
Wed, 23 May 2012 14:52:42 +0200 |
Author: bartpolot
Date: 2012-05-23 14:52:42 +0200 (Wed, 23 May 2012)
New Revision: 21566
Modified:
gauger/web/plot.php
Log:
- Fixed quotations for data file name
Modified: gauger/web/plot.php
===================================================================
--- gauger/web/plot.php 2012-05-23 11:53:42 UTC (rev 21565)
+++ gauger/web/plot.php 2012-05-23 12:52:42 UTC (rev 21566)
@@ -155,7 +155,7 @@
}
$counter = get_counter_name($graph);
if($c) $plotcmd .= ',';
- $plotcmd .= escapeshellcmd(" \"$DATADIR$host/$graph.dat\"");
+ $plotcmd .= ' "' . escapeshellcmd("$DATADIR$host/$graph.dat") .
'"';
if($norm) {
$metric_max = (float)get_local_maximum($host, $graph,
$range_start, $range_end);
$plotcmd .= " using 1:($2*100/$metric_max)";
@@ -172,7 +172,7 @@
if($unit == $right_unit) $plotcmd .= ' axes x1y2';
if($ch == 1 && $cg == 1) {
$plotcmd .= ', ';
- $plotcmd .= escapeshellcmd(" \"$DATADIR$host/$graph.dat\"");
+ $plotcmd .= ' "' . escapeshellcmd("$DATADIR$host/$graph.dat")
. '"';
$plotcmd .= " notitle with yerrorbars lw 1";
if($unit == $right_unit) $plotcmd .= ' axes x1y2';
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21566 - gauger/web,
gnunet <=