Diff for /loncom/homework/randomlabel.pm between versions 1.95 and 1.96

version 1.95, 2010/02/04 18:42:41 version 1.96, 2011/11/14 02:17:47
Line 175  sub start_randomlabel { Line 175  sub start_randomlabel {
     if ( defined($bgimg) && $bgimg !~ /^https?\:/ ) {      if ( defined($bgimg) && $bgimg !~ /^https?\:/ ) {
  $bgimg=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$bgimg);   $bgimg=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$bgimg);
  if (&Apache::lonnet::repcopy($bgimg) ne 'ok') {   if (&Apache::lonnet::repcopy($bgimg) ne 'ok') {
     $bgimg='/home/httpd/html/adm/lonKaputt/lonlogo_broken.gif';      $bgimg=$Apache::lonnet::perlvar{'lonDocRoot'}.'/adm/lonKaputt/lonlogo_broken.gif';
  }   }
     }      }
     $Apache::randomlabel::obj_cnt=0;      $Apache::randomlabel::obj_cnt=0;

Removed from v.1.95  
changed lines
  Added in v.1.96


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