Closed (fixed)
Project:
Chatroom
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Created:
2 Sep 2006 at 15:41 UTC
Updated:
17 Sep 2006 at 02:30 UTC
Jump to comment: Most recent
Hi, i found en fix another bug...
You always are touching cache file and it get a warning on my host... so i put a check if file exists...
...
/**
* sets the chat's cache file by touching it
*/
function chatroom_chat_set_cache($chat_id) {
$chat_file = chatroom_chat_get_cache_file_path($chat_id);
if (file_exists($chat_file)) {
return;
}
@touch($chat_file);
}
...
Comments
Comment #1
Anonymous (not verified) commentedthanks - i've applied your patch.
Comment #2
(not verified) commented