forked from e621ng/e621ng
10 lines
345 B
Ruby
10 lines
345 B
Ruby
require File.expand_path('../../state_checker', __FILE__)
|
|
|
|
StateChecker.new.check!
|
|
|
|
Rails.application.config.action_dispatch.session = {
|
|
:key => '_danbooru2_session',
|
|
:secret => File.read(File.expand_path("~/.danbooru/session_secret_key"))
|
|
}
|
|
Rails.application.config.secret_token = File.read(File.expand_path("~/.danbooru/secret_token"))
|