Thread: search logs
View Single Post
Old 07-16-2004, 07:51 AM   #3
sf44
Green Mole
 
Join Date: Jul 2004
Posts: 9
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.
sf44 is offline   Reply With Quote