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