]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/piwik.rb
Update Potlatch 2 to 2.5-57-gaa163622 build
[rails.git] / config / initializers / piwik.rb
index 2de98ce06f689a76166efee14ebfca2d5eca5631..1b9fa73c14e7f1d86d96959a5194aa86723fdef4 100644 (file)
@@ -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