Commit f9a7ea86 authored by Davide Aprea's avatar Davide Aprea
Browse files

add dummy engine to create search engines function

parent 35eadd45
......@@ -675,6 +675,11 @@ class MetaGer
$this->enabledSearchengines["bing"] = $this->sumaFile->sumas->{"bing"};
}
# Setting dummy engine as active if it exists (suma file created from example)
if($this->getFokus() === "web" && isset($this->sumaFile->sumas->{"dummy"})){
$this->enabledSearchengines["dummy"] = $this->sumaFile->sumas->{"dummy"};
}
if (sizeof($this->enabledSearchengines) === 0) {
$filter = "";
foreach ($this->queryFilter as $queryFilter => $filterPhrase) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment