Modified: trunk/app/controllers/application.rb (2148 => 2149)
--- trunk/app/controllers/application.rb 2009-03-29 19:26:53 UTC (rev 2148)
+++ trunk/app/controllers/application.rb 2009-03-29 22:11:35 UTC (rev 2149)
@@ -72,7 +72,7 @@
# check if the current viewing/download is to be logged
# (i.e. request is sent not by a bot and is legitimate)
allow_logging = true
- BOT_IGNORE_LIST.each do |pattern|
+ Conf.bot_ignore_list.each do |pattern|
if request.env['HTTP_USER_AGENT'] and request.env['HTTP_USER_AGENT'].match(pattern)
allow_logging = false
break