From 7c541ceaf899c83a09162080fdf26fedeadfcf5e Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 2 May 2012 14:50:53 +0000 Subject: [PATCH] allow old graph format for bgp prefixes git-svn-id: http://www.observium.org/svn/observer/trunk@3111 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/bgp/prefixes.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/html/includes/graphs/bgp/prefixes.inc.php b/html/includes/graphs/bgp/prefixes.inc.php index 56aca061a2..462cd5a70c 100644 --- a/html/includes/graphs/bgp/prefixes.inc.php +++ b/html/includes/graphs/bgp/prefixes.inc.php @@ -15,6 +15,11 @@ $graph_max = 1; $unit_text = "Prefixes"; -include("includes/graphs/generic_simplex.inc.php"); +if($config['old_graphs']) +{ + include("includes/graphs/old_generic_simplex.inc.php"); +} else { + include("includes/graphs/generic_simplex.inc.php"); +} ?>