hello bloodjelly
I have the same problem, and i solved it with adding this code:
PHP Code:
///Modifikation 2004 by George Ruinelli //////////////////////////
if($link['url']=="http://www.domain.ch/") {
$pos1=strpos("_".$link['path'],"subdir/");
$pos2=strpos("_".$link['file'],"subdir/");
//if($pos!=1 AND $pos!=2){
if($pos1==false AND $pos2==false){ //text nicht gefunden
$link['ok'] = 0;
}
}
in the file robot_functions.php at the end of the function
phpdigDetectDir but before
PHP Code:
if (!$link['ok'] && isset($status)) {
$link['status'] = $status['status'];
$link['host'] = $status['host'];
$link['path'] = $status['path'];
$link['cookies'] = $status['cookies'];
}
My code prevents phpdig adding a link who isn't in this subdir to it's list