INN commit: branches/2.4/scripts (innreport.in)

INN Commit Russ_Allbery at isc.org
Tue Oct 7 17:08:32 UTC 2008


    Date: Tuesday, October 7, 2008 @ 10:08:32
  Author: iulius
Revision: 8142

Test for the existence of 'img_dir' instead of 'html_dir'.
Thanks to Wim Lewis for the patch.

Modified:
  branches/2.4/scripts/innreport.in

--------------+
 innreport.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: innreport.in
===================================================================
--- innreport.in	2008-10-05 23:47:25 UTC (rev 8141)
+++ innreport.in	2008-10-07 17:08:32 UTC (rev 8142)
@@ -212,7 +212,7 @@
 $IMG_pth = $ref{'webpath'} if defined $ref{'webpath'};
 
 $IMG_dir = $HTML_dir . "/" . $IMG_pth
-  if (defined $output{'default'}{'html_dir'} ||
+  if (defined $output{'default'}{'img_dir'} ||
        defined $ref{'w'} || defined $ref{'webpath'})
       &&
       (defined $output{'default'}{'html_dir'} ||



More information about the inn-committers mailing list