summaryrefslogtreecommitdiffstats
path: root/public/dispatch.rb.example
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-01 15:48:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-01 15:48:46 +0000
commit0491488554883009dac479a3eb653fc135b08ed4 (patch)
treee11127e759b6c9b596811f9e8ba92c1dacaf2559 /public/dispatch.rb.example
parent785825900a37ee026bc0257d00fe3977d1b30848 (diff)
downloadredmine-0491488554883009dac479a3eb653fc135b08ed4.tar.gz
redmine-0491488554883009dac479a3eb653fc135b08ed4.zip
Updates dispatch.fcgi.example to work with Rails3 and removes CGI handlers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9604 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/dispatch.rb.example')
-rwxr-xr-xpublic/dispatch.rb.example10
1 files changed, 0 insertions, 10 deletions
diff --git a/public/dispatch.rb.example b/public/dispatch.rb.example
deleted file mode 100755
index 32fa3b266..000000000
--- a/public/dispatch.rb.example
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-
-require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
-
-# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
-# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
-require "dispatcher"
-
-ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
-Dispatcher.dispatch