From 4e1e1034bd1ab045d2e626256d9ef3f25f2b4f1e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 21 Aug 2006 06:02:57 +0000 Subject: [PATCH] ebl display a message when open text/brestore mime type git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3316 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lib/Bweb.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 883b08ce8a..2e40950b2c 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -1136,7 +1136,7 @@ sub new my $self = bless { dbh => undef, # connect_db(); info => { - dbi => 'DBI:Pg:database=bacula;host=127.0.0.1', + dbi => '', # DBI:Pg:database=bacula;host=127.0.0.1 user => 'bacula', password => 'test', }, @@ -2552,6 +2552,7 @@ sub restore print CGI::header('text/brestore'); print "jobid=$arg->{jobid}\n" if ($arg->{jobid}); print "client=$arg->{client}\n" if ($arg->{client}); + print "\n\nYou have to assign this mime type with /usr/bin/brestore.pl\n"; print "\n"; } -- 2.39.5