HsbtDiary
2006/07/12 (水) [長年日記]
■ livedoor 天気情報プラグイン(10)
cached_time = nil cached_time = File.mtime( file_name ) if File.exist?( file_name ) if @conf['lwws.cache'] == "t" and Time.now > cached_time + cache_time update = true end
こんな処理してりゃ、動かねーわけだ。
キャッシュファイルがある時だけupdateをtrueにするかどうかの判定を行うように修正してコミットした。
[ツッコミを入れる]

