ajout heimdall

This commit is contained in:
2025-01-01 11:24:01 +01:00
parent f8be42e486
commit c52f60fca9
1477 changed files with 15692 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?php namespace App\SupportedApps\SearxMetasearchEngine;
class SearxMetasearchEngine extends \App\SupportedApps implements \App\SearchInterface {
public $type = 'external'; // Whether to go to the external site or display results locally
public function getResults($query, $provider)
{
$url = rtrim($provider->url, '/');
$q = urlencode($query);
return redirect($url.'/search?q='.$q);
}
}