Yes, boyd is correct. The relevant code is in the seach_function.php file:
Code:
if (PHPDIG_LOGS == true && !$browse && !$refine && $adlog_flag == 0) {
if (is_array($final_result)) {
phpdigAddLog ($id_connect,$option,$strings,$exclude,count($final_result),$search_time);
}
else {
phpdigAddLog ($id_connect,$option,$strings,$exclude,0,$search_time);
}
}
The $browse is a check to prevent multiple logs when a user goes to another page of search results or selects a different template. The $refine is a check to prevent multiple logs when a user goes to limit search results to a specific domain or path.