PDA

View Full Version : Search Depth using PhpDig with command line


bazarin
02-20-2004, 02:25 AM
Hi:

How Can I stablish the Search Depth in a PhpDig command line section?

Regards,

Wagner

Charter
02-20-2004, 07:53 AM
Hi. The search depth would need to be set in the config.php file. For example, if you want a search depth of one, then just set the following in the config.php file.

define('SPIDER_MAX_LIMIT',1); //max recurse levels in spider
define('SPIDER_DEFAULT_LIMIT',1); //default value
define('RESPIDER_LIMIT',1); //recurse limit for update