lib/merb/merb_upload_handler.rb in merb-0.0.8 vs lib/merb/merb_upload_handler.rb in merb-0.0.9

- old
+ new

@@ -8,10 +8,10 @@ @frequency = options[:frequency] || 3 @request_notify = true if options[:drb] require 'drb' DRb.start_service - Mongrel.const_set :Uploads, DRbObject.new(nil, "druby://#{Merb::Server.config[:host]}:#{Merb::Server.config[:session]}").upload_progress + Mongrel.const_set :Uploads, DRbObject.new(nil, "druby://#{Merb::Server.host}:#{Merb::Server.drb_server_port}").upload_progress else require File.dirname(__FILE__)+'/merb_upload_progress' Mongrel.const_set :Uploads, Merb::UploadProgress.new end Mongrel::Uploads.debug = true if options[:debug]