]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Moved graph images into templates_c folder
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 13 Dec 2010 14:08:30 +0000 (15:08 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Mar 2011 09:39:07 +0000 (10:39 +0100)
 - Images graph are generated into the folder templates_c

gui/bacula-web/bgraph.inc.php

index 11c88d55adb8a486ab2ad4a5d41a2cb69c3619f1..6b61bc21ea121c8445b83c1972a786bd03ba217b 100644 (file)
@@ -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 )