xml-axkit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject cvs commit: xml-axkit/lib/Apache/AxKit ConfigReader.pm
Date Mon, 04 Aug 2003 23:05:17 GMT
mach        2003/08/04 16:05:17

  Modified:    lib/Apache/AxKit ConfigReader.pm
  Log:
  Fixing styles leaking into #global style cache. (subsequent
  requests would see styles from previous requests).
  
  Revision  Changes    Path
  1.18      +6 -2      xml-axkit/lib/Apache/AxKit/ConfigReader.pm
  
  Index: ConfigReader.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/ConfigReader.pm,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ConfigReader.pm	11 Jul 2003 16:03:54 -0000	1.17
  +++ ConfigReader.pm	4 Aug 2003 23:05:17 -0000	1.18
  @@ -384,7 +384,11 @@
       $style ||= '#default';
   
       # Add global styles
  -    my $list = $self->{cfg}{Processors}{$media}{'#global'} || [];
  +    my $list = [];
  +
  +    if( exists($self->{cfg}{Processors}{$media}{'#global'})) {
  +	push @$list, @{ $self->{cfg}{Processors}{$media}{'#global'} || []};
  +    }
   
       # Add styles matching this style
       if (exists($self->{cfg}{Processors}{$media}{$style})) {
  
  
  

Mime
View raw message