Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
SHIBATA Hiroshi 2013-02-16 23:20:10 +0900 (Sat, 16 Feb 2013)
New Revision: 6f777c5a572990606337dc94809245c6487f1185
Merged 4323033: Merge pull request #264 from tdiary/remove-cgi-from-config
implement bot? in view model.
Modified: tdiary/base.rb (+4 -0)
--- tdiary/base.rb 2013-02-16 23:16:14 +0900 (6397763)
+++ tdiary/base.rb 2013-02-16 23:20:10 +0900 (0b8dc66)
@@ -107,6 +107,10 @@ module TDiary
@diaries.delete( date.strftime( '%Y%m%d' ) )
+ def bot?
+ @conf.bot =~ @cgi.user_agent
Sign up for the SourceForge newsletter: