freebsd-ports/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
Kirill Ponomarev 7b04f2e848 - Update sysutils/backuppc to 3.3.2
- Initialize options helpers

PR:		216875
Submitted by:	moiseev@mezonplus.ru
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9472
2017-02-07 14:39:36 +00:00

11 lines
441 B
Perl

--- lib/BackupPC/CGI/View.pm.orig 2015-01-12 00:19:53 UTC
+++ lib/BackupPC/CGI/View.pm
@@ -89,7 +89,7 @@ sub action
$file = $bpc->ConfDir() . "/hosts";
$linkHosts = 1;
} elsif ( $type eq "docs" ) {
- $file = $bpc->InstallDir() . "/doc/BackupPC.html";
+ $file = "$Conf{CgiImageDir}/BackupPC.html";
} elsif ( $host ne "" ) {
if ( !defined($In{num}) ) {
# get the latest LOG file