FIX: subfolder support was broken

This commit is contained in:
Neil Lalonde 2018-01-15 15:42:31 -05:00
parent fe907aaf74
commit 5b356e446a
1 changed files with 4 additions and 0 deletions

View File

@ -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!