diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-03-07 23:00:58 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-03-07 23:00:58 +0100 |
commit | e30bd459b8d5f0b050dbfb1c4692b8c226ca42d7 (patch) | |
tree | 4b786fff9778cec814825718ed31fd3a1026cefd /dudle.rb | |
parent | 91bae2d3b05504b85f08e30013d391c3f19f21a2 (diff) |
log last read access
Diffstat (limited to 'dudle.rb')
-rw-r--r-- | dudle.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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/") |