Skip to content
Snippets Groups Projects
Commit 0dceb063 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update Searchengine.php

parent 3f181458
No related branches found
No related tags found
2 merge requests!1168Development,!1167Useragent fix
...@@ -69,7 +69,7 @@ abstract class Searchengine ...@@ -69,7 +69,7 @@ abstract class Searchengine
return; return;
} }
$this->useragent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1"; $this->useragent = $metager->getUserAgent();
$this->ip = $metager->getIp(); $this->ip = $metager->getIp();
$this->gefVon = "<a href=\"" . $this->homepage . "\" target=\"_blank\" rel=\"noopener\">" . $this->displayName . "</a>"; $this->gefVon = "<a href=\"" . $this->homepage . "\" target=\"_blank\" rel=\"noopener\">" . $this->displayName . "</a>";
$this->startTime = microtime(); $this->startTime = microtime();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment