freebsd-ports/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
William Grzybowski d321d6f032 sysutils/backuppc: copy required html file to WWWDIR
PR:		193059
Submitted by:	maintainer
2014-08-30 16:46:17 +00:00

11 lines
482 B
Perl

--- ./lib/BackupPC/CGI/View.pm.orig 2014-08-30 15:21:07.000000000 +0400
+++ ./lib/BackupPC/CGI/View.pm 2014-08-30 15:21:18.000000000 +0400
@@ -89,7 +89,7 @@
$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