paths in Instiki errors will look a bit less funny

This commit is contained in:
Alexey Verkhovsky 2005-01-18 23:38:36 +00:00
parent ca22e59c38
commit 2c637539be

View file

@ -3,7 +3,7 @@ if RUBY_VERSION < '1.8.1'
exit
end
RAILS_ROOT = File.dirname(__FILE__) + '/../' unless defined? RAILS_ROOT
RAILS_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') unless defined? RAILS_ROOT
RAILS_ENV = ENV['RAILS_ENV'] || 'production' unless defined? RAILS_ENV
unless defined? ADDITIONAL_LOAD_PATHS
@ -57,4 +57,3 @@ require 'wiki_service'
Socket.do_not_reverse_lookup = true
ActionController::Base.template_root ||= "#{RAILS_ROOT}/app/views/"