Diff for /loncom/interface/lonindexer.pm between versions 1.181.6.1 and 1.181.6.2

version 1.181.6.1, 2009/12/02 17:46:46 version 1.181.6.2, 2009/12/02 18:22:20
Line 1296  sub showpreview { Line 1296  sub showpreview {
     my $output='';      my $output='';
     my $embstyle=&Apache::loncommon::fileembstyle($curfext);      my $embstyle=&Apache::loncommon::fileembstyle($curfext);
     if ($embstyle eq 'ssi') {      if ($embstyle eq 'ssi') {
        my $cache=$Apache::lonnet::perlvar{'lonDocRoot'}.$filelink.         my $cache = $Apache::lonnet::perlvar{'lonDocRoot'}.$filelink;
                     '.tmp';         if ($env{'request.gcicontext'} eq 'buildtest') {
              $cache .= '.tn'; 
          } else {
              $cache .= '.tmp';
          }
        if ((!$env{'form.updatedisplay'}) &&         if ((!$env{'form.updatedisplay'}) &&
                     (-e $cache)) {                      (-e $cache)) {
           open(FH,$cache);            open(FH,$cache);

Removed from v.1.181.6.1  
changed lines
  Added in v.1.181.6.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>