Show
Ignore:
Timestamp:
10/30/2006 10:09:44 (2 years ago)
Author:
why
Message:
  • lib/camping/fastcgi.rb: fixing FastCGI.serve, based on Michael Gorsuch's patch from #104. Thanks!
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping/fastcgi.rb

    r174 r176  
    5858class FastCGI 
    5959    CHUNK_SIZE=(4 * 1024) 
     60 
     61    attr_reader :mounts 
    6062 
    6163    # Creates a Camping::FastCGI class with empty mounts. 
     
    115117                 Dir[File.join(path, dir, '*.rb')].each do |script| 
    116118                     smount = "/" + File.basename(script, '.rb') 
    117                      script_load[script] unless @mounts.has_key? smount 
     119                     script_load[script] unless fast.mounts.has_key? smount 
    118120                 end 
    119121            end