Merged the file with version 1.8.5
I have not thoroughly tested the new functionality of path and excludepath.
It would be nice if this makes it into the next release. Probably the search.php (and form functions) need adjustments (to serialize the array in hidden fields etc).
We use it here from our customized search.php file like this:
Code:
$path_exclude = array();
if( X )
{
$path = 'XXX/%';
}
elseif( Y )
{
$path = 'YYY/%';
}
else
{
$path_exclude = array( 'XXX/%', 'YYY/%' );
}
and call phpdigSearch then.
This way we exclude certain paths when we are not in that subpage and only use the special path for this subpages when we are in them.