]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/cgi/bweb.pl
ebl use $CONF_DIR instead of /etc/bacula
[bacula/bacula] / gui / bweb / cgi / bweb.pl
index e9a8eb250c694f591915225028eeee70e1707cad..d4a8cf573afa7bd24a97a1d8f9f9d312294e2c12 100755 (executable)
@@ -54,7 +54,7 @@ if ($action eq 'restore') {
 }
 
 # loading config file
-my $conf = new Bweb::Config(config_file => '/etc/bweb/config');
+my $conf = new Bweb::Config(config_file => $Bweb::config_file);
 $conf->load();
 
 my $bweb = new Bweb(info => $conf);
@@ -273,7 +273,7 @@ if ($action eq 'begin') {           # main display
     print "<div><table border='0'><tr><td valign='top'>\n";
     my $fields = $bweb->get_form(qw/status level db_clients db_filesets
                                    limit age offset qclients qfilesets
-                                   jobtype/);
+                                   jobtype qpools db_pools/);
     $bweb->display($fields, "display_form_job.tpl");
 
     print "</td><td valign='top'>";