Yes, I know this option
define('PHPDIG_LOGS',false);
this disable logs.
But I want logs.
I only do not want rows in database with empty search term.
At present when the search.php is loaded 1 row is added to database. but I do not want stats - how many times search.php is loaded.
I only need to know search terms.
Because of that -
delete FROM `logs` WHERE l_includes = ''
I think, it is no problem to insert this code to function with special option in config.
Slavomir.
|