]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Try additional $_SERVER properties to get relative path of Friendica
[friendica.git] / include / enotify.php
index 70abce584547ea3986a25b2d6f89029dc0c99408..b184a6935e08add322c137ccfa63cba6c2c469ff 100644 (file)
@@ -61,7 +61,7 @@ function notification($params)
        }
 
        $sender_name = $sitename;
-       $hostname = $a->get_hostname();
+       $hostname = $a->getHostName();
        if (strpos($hostname, ':')) {
                $hostname = substr($hostname, 0, strpos($hostname, ':'));
        }