File: 02-fix_rrd_generation.diff

package info (click to toggle)
serverstats 0.8.2-8
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 604 kB
  • ctags: 796
  • sloc: php: 4,238; perl: 90; sh: 15; makefile: 12
file content (14 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Change parameter for autoscaling. Closes: #571964

diff -Naur serverstats-0.8.2.orig//includes/rrdgraph.class.php serverstats-0.8.2/includes/rrdgraph.class.php
--- serverstats-0.8.2.orig//includes/rrdgraph.class.php	2007-12-03 15:04:48.000000000 +0100
+++ serverstats-0.8.2/includes/rrdgraph.class.php	2010-03-16 19:27:04.000000000 +0100
@@ -319,7 +319,7 @@
 		}
 		if ($this->altAutoscaleMax)
 		{
-			$params .= ' -M ';
+			$params .= ' --alt-autoscale-max ';
 		}
 		if ($this->lazy)
 		{