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-Tag: Release-5.2.1~586 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=334f289e02d596c80d0224778e56825ec5ab1423;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 )