Merge pull request #1119 from annando/1409-issue-881

The useragent string doesn't contains of the words "Mozilla" anymore
This commit is contained in:
fabrixxm 2014-09-07 11:41:51 +02:00
commit 36a67158d2
4 changed files with 18 additions and 6 deletions

View file

@ -872,6 +872,10 @@ if(! class_exists('App')) {
$this->performance["markstart"] = microtime(true) - $this->performance["markstart"] - $this->performance["marktime"];
}
function get_useragent() {
return(FRIENDICA_PLATFORM." ".FRIENDICA_VERSION."-".DB_UPDATE_VERSION."; ".$this->get_baseurl());
}
}
}