diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-06-28 18:11:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-06-28 18:11:03 +0000 |
commit | 6b7650e2f03156ea1e3985b30c1995e44c317e3d (patch) | |
tree | e56734d45ecc3725b77f3da1ede21294e49ec894 /redmine/public/dispatch.rb | |
parent | 73e0b8f8b3c9350018a7d8fda143dd9b8aa6f091 (diff) | |
download | redmine-6b7650e2f03156ea1e3985b30c1995e44c317e3d.tar.gz redmine-6b7650e2f03156ea1e3985b30c1995e44c317e3d.zip |
Initial commit
git-svn-id: http://redmine.rubyforge.org/svn/trunk@4 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/public/dispatch.rb')
-rw-r--r-- | redmine/public/dispatch.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/redmine/public/dispatch.rb b/redmine/public/dispatch.rb new file mode 100644 index 000000000..7095803c1 --- /dev/null +++ b/redmine/public/dispatch.rb @@ -0,0 +1,10 @@ +#!e:/ruby/bin/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
\ No newline at end of file |