- fixed configure.pl and makeDist.
[BackupPC.git] / lib / BackupPC / CGI / LOGlist.pm
index 71b7d81..18cbdcd 100644 (file)
@@ -28,7 +28,7 @@
 #
 #========================================================================
 #
-# Version 2.1.0_CVS, released 3 Jul 2003.
+# Version 3.0.0alpha, released 23 Jan 2006.
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -53,7 +53,7 @@ sub action
         $url0 = "&host=${EscURI($host)}";
         $hdr = "for host $host";
     } else {
-        $root = "$TopDir/log/LOG";
+        $root = "$LogDir/LOG";
         $url0 = "";
         $hdr = "";
     }
@@ -75,7 +75,8 @@ sub action
 EOF
     }
     my $content = eval("qq{$Lang->{Log_File_History__hdr}}");
-    Header($Lang->{BackupPC__Log_File_History}, $content);
+    Header($Lang->{BackupPC__Log_File_History},
+                $content, !-f "$TopDir/pc/$host/backups");
     Trailer();
 }