/[gnump3d]/gnump3d/bin/gnump3d2
ViewVC logotype

Diff of /gnump3d/bin/gnump3d2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by skx, Mon Oct 27 21:55:06 2003 UTC revision 1.36 by skx, Tue Oct 28 14:03:02 2003 UTC
# Line 1075  while (1) Line 1075  while (1)
1075                  $testPath =  $theme_dir . "/" . $ARGUMENTS{"theme"} . $uri;                  $testPath =  $theme_dir . "/" . $ARGUMENTS{"theme"} . $uri;
1076                  if ( -e $testPath )                  if ( -e $testPath )
1077                  {                  {
1078                      &serveFile( $data, $testPath );                      if ( $testPath =~ /\.html$/i )
1079                        {
1080                            my $mime = $mime_cache{ lc( &getSuffix( $testPath ) ) };
1081                            my $header = &getHTTPHeader( 200, $mime );
1082    
1083                            my @lines = &readFileWithExpansion( $testPath );
1084                            foreach my $line ( @lines )
1085                            {
1086                                $line =~ s/\$HOSTNAME/$host/g;
1087                                $line =~ s/\$VERSION/$VERSION/g;
1088                                $line =~ s/\$RELEASE/$RELEASE/g;
1089    
1090                                &sendData( $data, $line );
1091                            }
1092    
1093                        }
1094                        else
1095                        {
1096                            &serveFile( $data, $testPath );
1097                        }
1098                      exit;                      exit;
1099                  }                  }
1100              }              }

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26