mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-12 21:17:11 +01:00
Rely on dotenv autoload instead of explicit call (#30007)
This commit is contained in:
parent
a15139bc02
commit
18737aad49
@ -52,8 +52,6 @@ require_relative '../lib/active_record/batches'
|
|||||||
require_relative '../lib/simple_navigation/item_extensions'
|
require_relative '../lib/simple_navigation/item_extensions'
|
||||||
require_relative '../lib/http_extensions'
|
require_relative '../lib/http_extensions'
|
||||||
|
|
||||||
Dotenv::Rails.load
|
|
||||||
|
|
||||||
Bundler.require(:pam_authentication) if ENV['PAM_ENABLED'] == 'true'
|
Bundler.require(:pam_authentication) if ENV['PAM_ENABLED'] == 'true'
|
||||||
|
|
||||||
require_relative '../lib/mastodon/redis_config'
|
require_relative '../lib/mastodon/redis_config'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user