opnsense-ports/sysutils/backuppc-devel/files/patch-lib__BackupPC__CGI__View.pm
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
499 B
Perl

--- ./lib/BackupPC/CGI/View.pm.orig 2014-09-03 14:15:03.000000000 +0400
+++ ./lib/BackupPC/CGI/View.pm 2014-09-03 14:15:20.000000000 +0400
@@ -102,7 +102,7 @@
$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