Diff for /rat/lonwrapper.pm between versions 1.49.2.7.2.2 and 1.49.2.7.2.4

version 1.49.2.7.2.2, 2020/02/17 01:31:20 version 1.49.2.7.2.4, 2020/09/08 00:10:21
Line 275  sub handler { Line 275  sub handler {
     for ($url){      for ($url){
         s|^/adm/wrapper||;          s|^/adm/wrapper||;
         $is_ext = $_ =~ s|^/ext/|http://|;          $is_ext = $_ =~ s|^/ext/|http://|;
         s|http://https://?|https://| if ($is_ext);          s|http://https://|https://| if ($is_ext);
         s|:|:|g;          s|:|:|g;
     }      }
   
Line 290  sub handler { Line 290  sub handler {
         my %toolhash = &Apache::lonnet::get('exttool_'.$marker,['target','linktext','explanation','id','width','height'],          my %toolhash = &Apache::lonnet::get('exttool_'.$marker,['target','linktext','explanation','id','width','height'],
                                             $cdom,$cnum);                                              $cdom,$cnum);
         if ($toolhash{'id'}) {          if ($toolhash{'id'}) {
             my %ltitools = &Apache::lonnet::get_domain_lti($cdom,'consumer');              my %ltitools = &Apache::lonnet::get_domain_ltitools($cdom);
             if (ref($ltitools{$toolhash{'id'}}) eq 'HASH') {              if (ref($ltitools{$toolhash{'id'}}) eq 'HASH') {
                 $exttoolremote = $ltitools{$toolhash{'id'}}{'url'};                  $exttoolremote = $ltitools{$toolhash{'id'}}{'url'};
             }              }

Removed from v.1.49.2.7.2.2  
changed lines
  Added in v.1.49.2.7.2.4


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