Skip to forum content
CutePHP Forums
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
CutePHP Forums
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
OK, then. I've edited my files and seem to be having no problems. I have no idea if it's sped up my server response, though.
No, i think BadDog first wrote:but then Flexer come up with a better idea, so BadDog then edited his first post. So dont care about it, just do whats written in post #1
This hack works great on my own server, but im haveing problems on an other.. Dont know why, guess its a server-related problem
(On the one with problems I have disabled comments, maybe thats why..? )
Where are you finding this code? I mean the block that begins with "$update_file". It's not in addnews.mdu, as far as I can tell.
$update_file = fopen("./data/comments.txt", "a+");
flock($update_file, 2);
flock($update_file, 3);
fclose($update_file);
better solution is using
touch("./data/comments.txt")
all in all, this is really a helpful tuning to your site and server performance
Posts found: 2