X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..89095c898116d8c4b314c1316557a86a781ba7f7:/config/initializers/piwik.rb?ds=sidebyside 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