Thiefinder Updated

I just updated Thiefinder and it will now stop executing if the requested image doesn’t exist. Before it would send the 404 error and continue exectuing (which would result in PHP errors).

All I did was change this (starting on line 84):

if(!file_exists($doc_root . "/$request")) {
	header("HTTP/1.0 404 Not Found");
}

To this:

if(!file_exists($doc_root . "/$request")) {
	header("HTTP/1.0 404 Not Found");
	return;
}

Please subscribe, or else I will cry. Do you really want to make a programmer cry?

Leave a Reply

Note: By submitting your comment you agree to this blog's comment policy.

If you want a little icon next to your name - sign up for one at Gravatar.