it looks like 0.7.1 (possibly others) is doing "refferer suppression" the wrong way. The first seen refferer is sturred in suppression queue and all others are processed and supressionq is updated:
I think this is the code which does whats desired:
...
Code: Select all
...
$count = serendipity_db_query($suppressq, true);
if ($count[0] > 0) {
serendipity_db_query($suppressp);
serendipity_db_query($suppressu);
return;
}
serendipity_db_query($suppressu);
serendipity_track_url('referrers', $_SERVER['HTTP_REFERER'], $entry);
blog.eckes.org