mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 15:22:13 +00:00
trying out some search stuff...
This commit is contained in:
parent
6eacd9cd3c
commit
04adb31c7e
1 changed files with 4 additions and 4 deletions
|
@ -10,11 +10,11 @@
|
|||
// Start actual search
|
||||
$lib = dblist();
|
||||
echo "<P>Using dbm library '$lib'";
|
||||
$dbm = dbmopen("siteindex.db","r");
|
||||
if (dbmexists($dbm, $string)) {
|
||||
$parseMe = dbmfetch($dbm, $string);
|
||||
$dbm = dba_open("siteindex.db","r","dbm");
|
||||
if (dba_exists($dbm, $string)) {
|
||||
$parseMe = dba_fetch($dbm, $string);
|
||||
}
|
||||
dbmclose($dbm);
|
||||
dba_close($dbm);
|
||||
if ($parseMe) {
|
||||
$filenames = preg_split("/&&/", $parseMe);
|
||||
for ($i = 0;$i < sizeof($filenames);$i++) {
|
||||
|
|
Loading…
Reference in a new issue