##// END OF EJS Templates
Fixed: The error flash message on session expiration is not in the language of the user but of the user of the previous request (#17023)....
Fixed: The error flash message on session expiration is not in the language of the user but of the user of the previous request (#17023). git-svn-id: http://svn.redmine.org/redmine/trunk@13391 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r11482:6869e652c453
r13028:77b0abb79cb8
Show More
00-core_plugins.rb
15 lines | 509 B | text/x-ruby | RubyLexer
# Loads the core plugins located in lib/plugins
Dir.glob(File.join(Rails.root, "lib/plugins/*")).sort.each do |directory|
if File.directory?(directory)
lib = File.join(directory, "lib")
if File.directory?(lib)
$:.unshift lib
ActiveSupport::Dependencies.autoload_paths += [lib]
end
initializer = File.join(directory, "init.rb")
if File.file?(initializer)
config = RedmineApp::Application.config
eval(File.read(initializer), binding, initializer)
end
end
end