Skip to content
Snippets Groups Projects

Useragent fix

Merged Dominik Hebeler requested to merge useragent-fix into development
2 files
+ 9
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -69,7 +69,7 @@ abstract class Searchengine
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->gefVon = "<a href=\"" . $this->homepage . "\" target=\"_blank\" rel=\"noopener\">" . $this->displayName . "</a>";
$this->startTime = microtime();
Loading