Thanks Charter,
found the problem.
My $template var was empty/null in config.php the reason was, that I assigned the value to late.
So, you have to place $template = "$relative_script_path/templates/searchbox.php";
not only before
phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, $template, $rssdf);
but before any include e.g.
include "$relative_script_path/includes/config.php";
include "$relative_script_path/libs/search_function.php";
So setting it at the beginning of my page solved the problem.
Cheers :-)
|