Remove Cookie from getContent
-
Dear Humans,
I have a bunch of sites that I have to administrate using this plugin. In
wp-appbox/inc/getappinfo.class.php
you have this line:$cookie = tempnam( "/tmp", "CURLCOOKIE" );
It creates an empty cookie file in /tmp that never gets deleted (maybe on a reboot, but you know). So I was deleting half a million files, with an uptime of just 20 days.
So that is one thing that bothers me. But even worse is that this cookie is not even used. Like you have the file create, but
$cookie
is otherwise unused. So my proposal would be to remove this line as it does not seem to be needed anyway.Also, I am not really sure why the first order of business in the very same function is to sleep for 3 seconds?
- You must be logged in to reply to this topic.