Skip to content
Snippets Groups Projects
Commit 01b14b2d authored by James Edwards-Jones's avatar James Edwards-Jones
Browse files

Fix rubocop error from pages EE->CE port

parent e2123de5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -268,8 +268,8 @@ Settings.registry['path'] = File.expand_path(Settings.registry['path'
Settings['pages'] ||= Settingslogic.new({})
Settings.pages['enabled'] = false if Settings.pages['enabled'].nil?
Settings.pages['path'] = File.expand_path(Settings.pages['path'] || File.join(Settings.shared['path'], "pages"), Rails.root)
Settings.pages['host'] ||= "example.com"
Settings.pages['https'] = false if Settings.pages['https'].nil?
Settings.pages['host'] ||= "example.com"
Settings.pages['port'] ||= Settings.pages.https ? 443 : 80
Settings.pages['protocol'] ||= Settings.pages.https ? "https" : "http"
Settings.pages['url'] ||= Settings.send(:build_pages_url)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment