opnsense-ports/sysutils/backuppc-devel/files/patch-lib__BackupPC__CGI__View.pm
Franco Fichtner 1b132746d8 */*: sync with upstream
Taken from: FreeBSD
2017-04-25 08:46:23 +02:00

11 lines
458 B
Perl

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