[Lxr-commits] CVS: lxr source,1.44.2.1,1.44.2.2
Brought to you by:
ajlittoz
From: Malcolm B. <mb...@us...> - 2005-02-14 23:04:10
|
Update of /cvsroot/lxr/lxr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7829 Modified Files: Tag: bk-dev-branch source Log Message: Index: source =================================================================== RCS file: /cvsroot/lxr/lxr/source,v retrieving revision 1.44.2.1 retrieving revision 1.44.2.2 diff -u -d -r1.44.2.1 -r1.44.2.2 --- source 14 Feb 2005 22:58:20 -0000 1.44.2.1 +++ source 14 Feb 2005 23:04:02 -0000 1.44.2.2 @@ -300,26 +300,25 @@ } } } -} httpinit; if ($config->filter && $pathname !~ $config->filter) { - makeheader('source'); - print("\<p align=\"center\">\n<i>The file $pathname does not exist.</i>\n"); - makefooter('source'); - exit; + makeheader('source'); + print("\<p align=\"center\">\n<i>The file $pathname does not exist.</i>\n"); + makefooter('source'); + exit; } # If the file is html then simply pump it out. if ($pathname =~ /\.(html)$/ || $HTTP->{'param'}->{'raw'}) { - printfile(1); + printfile(1); } else { - my $type = ($pathname !~ m|/$| ? 'source' : 'sourcedir'); + my $type = ($pathname !~ m|/$| ? 'source' : 'sourcedir'); - makeheader($type); - printfile(0); - makefooter($type); + makeheader($type); + printfile(0); + makefooter($type); } httpclean; |