From 60c857c27c3dbc8a54a3c0ce76c58ff45cf0daf4 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 21 Aug 2006 06:02:18 +0000 Subject: [PATCH] ebl Display configuration when dbi is not found git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3315 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/cgi/bweb.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/bweb/cgi/bweb.pl b/gui/bweb/cgi/bweb.pl index 0c43a237c9..80919d18a5 100755 --- a/gui/bweb/cgi/bweb.pl +++ b/gui/bweb/cgi/bweb.pl @@ -58,6 +58,11 @@ my $arg = $bweb->get_form('jobid', 'limit', 'offset', 'age'); $bweb->display_begin(); +# if no configuration, we send edit_conf +unless ($bweb->{info}->{dbi}) { + $action = 'edit_conf'; +} + if ($action eq 'begin') { # main display print "
\n"; $bweb->display_general(age => $arg->{age}); -- 2.39.5