mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 20:25:48 +08:00
FIX: subfolder support was broken
This commit is contained in:
parent
fe907aaf74
commit
5b356e446a
|
@ -186,6 +186,10 @@ module Discourse
|
||||||
|
|
||||||
require 'auth'
|
require 'auth'
|
||||||
|
|
||||||
|
if GlobalSetting.relative_url_root.present?
|
||||||
|
config.relative_url_root = GlobalSetting.relative_url_root
|
||||||
|
end
|
||||||
|
|
||||||
if Rails.env == "test"
|
if Rails.env == "test"
|
||||||
if ENV['LOAD_PLUGINS'] == "1"
|
if ENV['LOAD_PLUGINS'] == "1"
|
||||||
Discourse.activate_plugins!
|
Discourse.activate_plugins!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user