Quote:
Originally posted by PFunk
Add this:
Code:
require("./global.php");
if ($usefileavatar) exit;
This will cause avatar.php not to return the graphic if Use File Avatars is enabled, otherwise, it works as before.
|
Oh my god do you not want to add that!!!!
If you use
require("./global.php") in avatar.php, you will be executing huge numbers of queries every time an avatar is displayed...
This code should really (
really) not be added!