aboutsummaryrefslogtreecommitdiff
path: root/dudle.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-03-07 23:00:58 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-03-07 23:00:58 +0100
commite30bd459b8d5f0b050dbfb1c4692b8c226ca42d7 (patch)
tree4b786fff9778cec814825718ed31fd3a1026cefd /dudle.rb
parent91bae2d3b05504b85f08e30013d391c3f19f21a2 (diff)
log last read access
Diffstat (limited to 'dudle.rb')
-rw-r--r--dudle.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/dudle.rb b/dudle.rb
index e7893d7..97f1c53 100644
--- a/dudle.rb
+++ b/dudle.rb
@@ -97,6 +97,8 @@ class Dudle
@tab = "." if @tab == "index.cgi"
if File.exists?("data.yaml") && !File.stat("data.yaml").directory?
+ # log last read acces manually (no need to grep server logfiles)
+ File.open("last_read_access","w").close
@is_poll = true
@basedir = ".."
GetText.bindtextdomain("dudle",:path => "#{@basedir}/locale/")