1
0
mirror of https://github.com/php/web-php.git synced 2026-04-24 15:38:06 +02:00

Forgot a bit

This commit is contained in:
Gareth Watts
1998-04-14 10:39:19 +00:00
parent 7291ea281c
commit 28fcf28a50
+1 -1
View File
@@ -68,7 +68,7 @@ if(!isset($pattern)) { ?>
}
if (isset($page)) {$off="&page=$page";} else {$off="";}
$query="words=$words&config=$config&exclude=$exclude&restrict=$restrict$off";
exec("/usr/local/htdig/bin/htphp.sh \"$query\"",&$result);
exec("$htsearch_prog \"$query\"",&$result);
$rc=count($result);
if ($rc<2) {
echo "<H2>There was an error executing this query. Please try later</H2>";