Ignore:
Timestamp:
11/18/08 03:33:32 (4 years ago)
Author:
SvenDowideit
Message:

Item212: don't assume PubUrlPath isn't set to a url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DistributedServersPlugin/lib/TWiki/Plugins/DistributedServersPlugin.pm

    r767 r770  
    6565    #my $text = shift; 
    6666    my $pubCDNMap = $TWiki::cfg{Plugins}{DistributedServersPlugin}{CDNMap}; 
    67 print STDERR  $TWiki::cfg{Plugins}{DistributedServersPlugin}{CDNMap}; 
    6867    foreach my $from ( keys(%{$pubCDNMap}) ) { 
    69 print STDERR "cdn? $from"; 
    70         $_[0] =~ s|($from)|pubCDN($1)|ge; 
     68#        $_[0] =~ s|($from)|pubCDN($1)|ge; 
    7169    } 
    7270} 
     
    7876    $pubCDNIndex = 0 if ( $pubCDNIndex >= scalar( @{ $pubCDNMap->{$fromUrl} } ) ); 
    7977 
     78print STDERR "$fromUrl ->  $url"; 
     79 
    8080    return $url; 
    8181} 
Note: See TracChangeset for help on using the changeset viewer.