X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..43b0d4236300e65c5fa9f9c49f348e95f96bcc16:/config/initializers/piwik.rb diff --git a/config/initializers/piwik.rb b/config/initializers/piwik.rb index 2de98ce06..1b9fa73c1 100644 --- a/config/initializers/piwik.rb +++ b/config/initializers/piwik.rb @@ -1,5 +1,5 @@ require "yaml" -if File.exist?(piwik_file = File.expand_path("../../piwik.yml", __FILE__)) +if File.exist?(piwik_file = File.expand_path("../piwik.yml", __dir__)) PIWIK = YAML.load_file(piwik_file) end