From acafdfcf3ad11b4edacd9b04c377789e66586248 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 11 May 2023 01:34:09 +0300 Subject: [PATCH] add method filters --- public/search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/search.php b/public/search.php index 9ec954c..a92753f 100644 --- a/public/search.php +++ b/public/search.php @@ -34,7 +34,7 @@ if (!empty($q)) { } // Mime list -$hostPagesMime = $sphinx->searchHostPagesMime($q); +$hostPagesMime = $sphinx->searchHostPagesMime(Filter::searchQuery($q, $m)); // Define page basics $totalPages = $sphinx->getHostPagesTotal(); @@ -310,7 +310,7 @@ if (filter_var($q, FILTER_VALIDATE_URL) && preg_match(CRAWL_URL_REGEXP, $q)) {

- +