]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge branch 'master' of https://github.com/friendica/friendica
[friendica.git] / boot.php
index 3ea08477d07b66418458bc814e78ac3b8a0b1a95..189f7bf8a4f0b0ccd71b8f5f64cb76751a84a2c1 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -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());
+               }
+
        }
 }