summaryrefslogtreecommitdiff
path: root/sysutils/backuppc/files/patch-lib__BackupPC__CGI__View.pm
blob: 21bba1a5f3097e066cc64b0f2c89f909ee83ca1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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