From: Davide Franco Date: Mon, 13 Dec 2010 14:08:30 +0000 (+0100) Subject: bacula-web: Moved graph images into templates_c folder X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=facdb9dd10f541e3f8af72b555211b2ccaf427ae;p=bacula%2Fbacula bacula-web: Moved graph images into templates_c folder - Images graph are generated into the folder templates_c --- 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 )