From facdb9dd10f541e3f8af72b555211b2ccaf427ae Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 13 Dec 2010 15:08:30 +0100 Subject: [PATCH] bacula-web: Moved graph images into templates_c folder - Images graph are generated into the folder templates_c --- gui/bacula-web/bgraph.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/bacula-web/bgraph.inc.php b/gui/bacula-web/bgraph.inc.php index 11c88d55ad..6b61bc21ea 100644 --- a/gui/bacula-web/bgraph.inc.php +++ b/gui/bacula-web/bgraph.inc.php @@ -19,9 +19,9 @@ class BGraph{ function __construct( $filename = "graph.png" ) { if( !empty($filename) ) - $this->output_file = $filename; + $this->output_file = 'templates_c/' . $filename; else - $this->output_file = 'graph.png'; + $this->output_file = 'templates_c/graph.png'; } public function SetData( $data_in, $type, $data_type, $shading = 5 ) -- 2.39.5