mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: subfolder support was broken
This commit is contained in:
@@ -186,6 +186,10 @@ module Discourse
|
||||
|
||||
require 'auth'
|
||||
|
||||
if GlobalSetting.relative_url_root.present?
|
||||
config.relative_url_root = GlobalSetting.relative_url_root
|
||||
end
|
||||
|
||||
if Rails.env == "test"
|
||||
if ENV['LOAD_PLUGINS'] == "1"
|
||||
Discourse.activate_plugins!
|
||||
|
||||
Reference in New Issue
Block a user