#906: APP_CONFIG should be initialized before all
This commit is contained in:
parent
b07d683a81
commit
7f21d40255
|
@ -0,0 +1,2 @@
|
||||||
|
# -*- encoding : utf-8 -*-
|
||||||
|
APP_CONFIG = YAML.load_file("#{Rails.root}/config/application.yml")[Rails.env]
|
|
@ -1,6 +1,4 @@
|
||||||
# -*- encoding : utf-8 -*-
|
# -*- encoding : utf-8 -*-
|
||||||
APP_CONFIG = YAML.load_file("#{Rails.root}/config/application.yml")[Rails.env]
|
|
||||||
|
|
||||||
Dir[Rails.root.join("lib/ext/**/*.rb")].each {|f| require f}
|
Dir[Rails.root.join("lib/ext/**/*.rb")].each {|f| require f}
|
||||||
require 'modules'
|
require 'modules'
|
||||||
require 'plugins'
|
require 'plugins'
|
||||||
|
|
Loading…
Reference in New Issue