Ignore:
Timestamp:
May 15, 2009, 6:23:03 PM (15 years ago)
Author:
ronosman
Message:

Bug 972 fixed : pLoader cannot connect to gallery authenticated by Apache.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extras/pLoader/trunk/src/Uploader/GUI/wxApp.pm

    r3284 r3285  
    290290          site_username
    291291          site_password
     292          http_username
     293          http_password
    292294          rejects
    293295          imagelist
     
    366368        $self->{site_password}
    367369    );
     370
     371    $self->http_username(
     372        $self->{http_username}
     373    );
     374    $self->http_password(
     375        $self->{http_password}
     376    );
     377
     378
    368379    $self->current_language(
    369380        $self->{current_language}||wxLANGUAGE_ENGLISH
     
    448459                    site_username
    449460                    site_password
     461                    http_username
     462                    http_password
    450463                    current_language
    451464                /
     
    584597                site_username  => $self->site_username,
    585598                site_password  => $self->site_password,
     599                http_username  => $self->http_username,
     600                http_password  => $self->http_password,
    586601                branding       => $self->branding,
    587602            }
     
    934949}
    935950
    936 sub _readParams2 {
    937         my( $self, $file ) = @_ ;
    938 
    939 
    940         my $expr_params ;
    941         eval { $expr_params = read_file( $file ); } ;
    942        
    943         my $paramValues = [] ;
    944         if($expr_params){
    945                 my $expr = '$paramValues = ' ;
    946                 $expr .=  "$expr_params ; " ;
    947                 eval $expr ;
    948         }
    949        
    950         return unless 'HASH' eq ref $paramValues ;
    951        
    952         $self->SetKeyValues($paramValues);
    953 }
    954951
    955952
Note: See TracChangeset for help on using the changeset viewer.