]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/piwik.rb
Merge remote-tracking branch 'openstreetmap/pull/1082'
[rails.git] / config / initializers / piwik.rb
index 1f054f7d1ed370a27ef81e5131b3a03302057af9..2de98ce06f689a76166efee14ebfca2d5eca5631 100644 (file)
@@ -1,5 +1,5 @@
 require "yaml"
 
-if File.exists?(piwik_file = File.expand_path("../../piwik.yml", __FILE__))
+if File.exist?(piwik_file = File.expand_path("../../piwik.yml", __FILE__))
   PIWIK = YAML.load_file(piwik_file)
 end